|
org.netbeans.modules.settings/1 1.15.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Settings API | |
---|---|
org.netbeans.spi.settings | The Settings API brings possibility to easily plug own human readable storage format or reuse any existing by using convertors. |
To prevent ClassNotFoundException while loading *.settings where
intentionally removed class is either in <instance class="..."/>
or <serialdata class="..."> it is possible to declare such
class in META-INF/netbeans/translate.names
. If class name
maps to empty string, it is ignored. E.g.:
org.mypackage.OldClass=
Lookups.forPath
Provides support for Lookups.forPath(String) method in order to replace now deprecated FolderLookup.
New file attribute can be used if the registered convertor is capable of handling subclasses of the registered class. The attribute name is "settings.subclasses" and it can be set on the same file object under "xml/memory" as "settings.providerPath". The value of the attribute must be boolean. Defaults to false.
Get a context associated with the reader. It can contain various info like a file location of the read object etc.
Allow to reuse already written convertors by newly created ones to facilitate a storing of complex objects.
|
|
|
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.modules.settings/1 1.15.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |