public class PropertyPack.BundlePropNode extends PropertyPack.PropNode
props
Constructor and Description |
---|
BundlePropNode(PropertyPack.BundleCluster clus)
Construct a PropNode that gets properties
from a ResourceBundle.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalString(java.lang.String key)
Searches this node for the key.
|
java.net.URL |
kidURL() |
protected boolean |
loadPropertiesFromInputStream(InputStream instr)
Read properties from the file.
|
java.lang.String |
toString() |
forEach, getCluster, getProps
public BundlePropNode(PropertyPack.BundleCluster clus)
clus
- The managing clusterprotected boolean loadPropertiesFromInputStream(InputStream instr)
PropertyPack.PropNode
loadPropertiesFromInputStream
in class PropertyPack.PropNode
instr
- An InputStream reading from a file under the
parent Clusters root.public java.lang.String getLocalString(java.lang.String key)
getLocalString
in class PropertyPack.PropNode
key
- What to look forpublic java.net.URL kidURL()
kidURL
in class PropertyPack.PropNode
public java.lang.String toString()
toString
in class PropertyPack.PropNode