NetBeans internally uses the concept of a virtual filesystem.
Support for writing annotation processors which generate XML layer fragments.
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.
An utility method isValidFileName() was added to check for illegal characters that may vary on supported platforms/OSes.
LayerGeneratingProcessor subclasses declare some
but as new JDKs are released, the declaration becomes obsolete and produces spurious warnings. The processors
are typically not affected by newer Java language features.
To support JDK 9 image file as an archive the FileUtil's method
are pluggable using a new SPI
In addition to these methods a new method
isArchiveArtifact was added.
This method can be used if given
URL points into an archive.
To support multiple configurations (users, profiles, ...) executing in the same VM, multiple Repositories can be created, one for each execution context. API has been added to acquire and SPI to create a local Repository which holds config filesystem for the execution thraed.
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.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.