See: Description
Package | Description |
---|---|
org.openide.filesystems |
NetBeans internally uses the concept of a
virtual filesystem.
|
org.openide.filesystems.annotations |
Support for writing annotation processors which generate XML layer fragments.
|
org.openide.filesystems.spi |
NetBeans internally uses the concept of a virtual filesystem. This module provide APIs for accessing such virtual files as well as some support classes to make writing of custom vitual filesystems easier.
FileUtil.copyFile(...) now preserve ATTRIBUTES and POSIX permissions.
FileUtil has a toPath(FileObject fo)
and toFileObject(Path path)
utility methods.
FileUtil.copyAttributes support custom filtering or value transformations.
An utility method isValidFileName() was added to check for illegal characters that may vary on supported platforms/OSes.
New method
getFileObject(relativePath, false)
in
FileObject
class to return a relative object even if it doesn't exist.
For general overview of the filesystem concepts, related topics, together with code samples, see chapter 3, of NetBeans Platform for Beginners by Jason Wexbridge and Walter Nyland. Many of the usecases are described at the overall documentation, in a way how to register a mime type. Some of the additional usecases are covered here.
See documentation about dynamically changing the system filesystem.
|
|
|
|
|
The sources for the module are in the Apache Git repositories or in the GitHub repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.