首頁

Preparation on Exam(1z0-813) Java File I/O (NIO.2)

Java File I/O (NIO.2)

  • Operate on file and directory paths by using the Path class

  • Check, delete, copy, or move a file or directory by using the Files class 
  • Recursively access a directory tree by using the DirectoryStream and FileVisitor interfaces
  • Find a file by using the PathMatcher interface, and use Java SE 8 I/O improvements, including Files.find(), Files.walk(), and lines() methods
  • Observe the changes in a directory by using the WatchService interface