org.sbml.jsbml.util
private static class XMLResourceBundleControl.XMLResourceBundle extends java.util.ResourceBundle
Properties
class and provides its
functionality as a ResourceBundle
.
Usually, this will simply return the elements for a given key as it would
be in an instance of Properties
. The only difference is the support
for String
arrays: If a returned element is surrounded with square
brackets ('['
and ']'
), these brackets are
removed from the string and the separator char ';'
is used to
split the given String
into an array of String
s.Modifier and Type | Field and Description |
---|---|
private java.util.Properties |
properties
The wrapped element.
|
Constructor and Description |
---|
XMLResourceBundleControl.XMLResourceBundle(java.io.InputStream stream) |
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration<java.lang.String> |
getKeys() |
protected java.lang.Object |
handleGetObject(java.lang.String key) |
java.lang.String |
toString() |
public XMLResourceBundleControl.XMLResourceBundle(java.io.InputStream stream) throws java.io.IOException, java.util.InvalidPropertiesFormatException
stream
- java.io.IOException
java.util.InvalidPropertiesFormatException
public java.util.Enumeration<java.lang.String> getKeys()
getKeys
in class java.util.ResourceBundle
protected java.lang.Object handleGetObject(java.lang.String key)
handleGetObject
in class java.util.ResourceBundle
public java.lang.String toString()
toString
in class java.lang.Object