Represents localized information for a NetBeans module usually loaded from a
Bundle.properties specified in a module's manifest. It is actaully
back up by
EditableProperties so any changes to this instance will
behave exactly as specified in
EditableProperties javadoc during
storing.
author: Martin Krauskopf
load(FileObject[] bundleFOs) Returns instances initialized by data in the given
FileObject .
Note that instances created by this factory method are automatically
storable (i.e.
load(InputStream[] bundleISs) Returns instances initialized by data in the given
FileObject .
Instances created by this factory method are not storable (i.e.
public void
reload() Reload data of this localizing bundle info from the file represented by
previously set path.
Returns instances initialized by data in the given
FileObject .
Note that instances created by this factory method are automatically
storable (i.e.
LocalizedBundleInfo.store and
LocalizedBundleInfo.reload can be called) if the
given object represents a regular
java.io.File .
Parameters: bundleFO - FileObject representing localizing bundle.Usually bundle.properties or its branded version.Given as an array so you can pass multiple locale variants (most specific last). instance representing data in the given bundle
Returns instances initialized by data in the given
FileObject .
Instances created by this factory method are not storable (i.e.
LocalizedBundleInfo.store and
LocalizedBundleInfo.reload cannot be called) until the
LocalizedBundleInfo.setPath is called upon this object.
Parameters: bundleIS - input stream representing localizing bundle. Usuallybundle.properties or its branded version. instance representing data in the given bundle
Reload data of this localizing bundle info from the file represented by
previously set path. Note that this instance already listens to the
bundle properties file (or files if localized). So it just gives a
possibility to force reloading in the case the properties were e.g.
changed outside of IDE or using
java.io.File .