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.