public class PropertyPack.BundleCluster extends PropertyPack.Cluster
propNodeList| Constructor and Description |
|---|
BundleCluster(java.util.ResourceBundle bndl) |
| Modifier and Type | Method and Description |
|---|---|
int |
addPropNodes()
Add to propNodes the PropNodes
appropriate for this kind of cluster.
|
InputStream |
openFile(java.lang.String relName) |
java.lang.String |
toString() |
countPropNodes, equals, forEachProperty, forEachPropNode, getURL, hashCodepublic int addPropNodes()
addPropNodes in class PropertyPack.Clusterpublic InputStream openFile(java.lang.String relName)
throws IOException
openFile in class PropertyPack.ClusterrelName - location of the desired file within the cluster.
Usually this method is called from
createPropNode; in this case relName
is a locale suffix and an extension. To open a sibling
of the properties file, relName may be
/../siblingname.ext.
The client MUST close the stream. Accordingly, an IOException
may thrown. This is intended to encourage calling this method
from within the parenthesized resouces clause
of a try statement.
IOException - if an error occurs.public java.lang.String toString()
toString in class PropertyPack.Cluster