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.
Add methods to
FileObject for handling of
Add utility method to
FileUtil for dealing with
recursive symbolic links.
Introduce new interface AbstractFileSystem.SymlinkInfo.
FileLock implements AutoCloseable to work well in try-with-resources constructs.
The FileSystem.Status was entirely removed, as it references class java.awt.Image, which is not available in compact jdk profiles and may trigger GUI system initialization. See javadocs of StatusDecorator for details.
getActions method in preparation
of splitting filesystems API into UI (e.g. depending
on Swing) and non-UI part (that can run on JDK8 compact
profile). Introducing general replacement
The default implementation of FileSystem.Status annotated file's icon using ImageUtilities which uses AWT graphics etc. Such dependency is not desirable in a standalone FileSystem API library.
The builtin implementation now does not work with the icon at all and returns null. A proper
implementation for FileSystem.Status is looked up in default Lookup and is implemented
properly (with Icon annotations) in
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 NetBeans Mercurial repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.
Built on December 18 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.