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.
|
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.
Deprecating 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
findExtrasFor
instead...
Files which have been deleted can be obtained by folder.getAttribute("revealEntries")
.
See MultiFileSystem
javadoc for details
Warning: stability of this feature is development
Added
new method to FileChooserBuilder
that determines whether the AcceptAll FileFilter
should be used in the created file chooser.
Added
new method to FileChooserBuilder
that adds all default
FileFilter
s to created file chooser.
Default filters are registered using new parameters in annotations MimeResolver.Registration and MimeResolver.ExtensionRegistration.
FileObject
now implements Lookup.Provider
and thus has new
getLookup() method.
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 June 20 2015. | Portions Copyright 1997-2015 Oracle. All rights reserved.