![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e13. Constructing a Filename PathAFile object is used to represent a filename. Creating the File
object has no effect on the file system; the filename need not exist
nor is it created.
On Windows, this example creates the path String path = File.separator + "a" + File.separator + "b";
e15. Getting an Absolute Filename Path from a Relative Filename Path e16. Determining If Two Filename Paths Refer to the Same File e17. Getting the Parents of a Filename Path e18. Determining If a Filename Path Is a File or a Directory
© 2002 Addison-Wesley. |