13. File System
The NetBeans Platform File System API provides an abstraction for standard Java files. With the File System API you can perform all the expected file operations that create, rename, and delete files and folders. You can read and write files with IOStreams and use convenience methods for reading. Furthermore, the NetBeans Platform enhances this abstraction by providing attributes for files and folders. You can also monitor changes to file system hierarchies with FileChangeListeners.
This chapter explores the File System API with several examples. You’ll also learn about the Layer file, how it affects your application’s configuration data, and how to access and contribute to this configuration information.
What You Will Learn
Get JavaFX Rich Client Programming on the NetBeans Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.