Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2. Locating Files and Directories Using Paths

Chapter 2. Locating Files and Directories Using Paths

In this chapter, we will cover the following:

  • Creating a Path object

  • Interoperability between java.io.File and java.nio.file.Files

  • Converting a relative path into an absolute path

  • Removing redundancies by normalizing a path

  • Combining paths using path resolution

  • Creating a path between two locations

  • Converting between path types

  • Determining whether two paths are equivalent

  • Managing symbolic links


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial