J2EEOnlineJ2EE 





Java Files  «Prev  Next»
Lesson 14

Java Files Directories Conclusion

This module discussed
  1. how to work with files and directories using the java.io.File class
  2. how to find out what files already exist
  3. how to create new files
  4. how to determine information about a file, such as its size
  5. how to move around in directories, how to switch from one to another, and how to list their contents
  6. the difference between a random access file and a sequential access file
  7. about the methods useful for working with random access files
In the next module, you will learn how to let the user select files with java.awt.FileDialog and java.awt.FilenameFilter.