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.
Semantic of getFileObject method has been clarified to accept "..".
You can use prefix "methodvalue:"
to
setAttribute
with type of Method.
When the attribute is queried (without the prefix), the
method is called as is common in
XMLFileSystem
attributes. You can also use newvalue:
prefix
for attribute of type
Class.
If the class referenced from newvalue
XMLFileSystem
attribute is not public, it is made accessible for reflection.
FileUtil.normalizePath
added
The method
FileUtil.normalizePath(String)
was added as a refinement of
FileUtil.normalizeFile
that does not require String to File to String conversion
on client side when intention is to convert unnormalized path to normalized path presentation.
Create a file and write its content (almost) atomically using the new FileObject.createAndOpen method.
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 July 21 2012. | Portions Copyright 1997-2012 Sun Microsystems, Inc. All rights reserved.