|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.util.ResourceBundle
A set of utility methods for working with Resource Bundles.
Constructor Summary | |
ResourceBundle()
|
Method Summary | |
static java.lang.String |
getNonNullResourceValue(java.util.ResourceBundle pBundle,
java.lang.String pKey)
Does a lookup for key pKey in the
ResourceBundle pBundle . |
static java.lang.String |
getResourceValue(java.util.ResourceBundle pBundle,
java.lang.String pKey)
Does a lookup for key pKey in the
ResourceBundle pBundle . |
static java.lang.String |
getResourceValue(java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.String pDefault)
Does a lookup for key pKey in the
ResourceBundle pBundle . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceBundle()
Method Detail |
public static java.lang.String getResourceValue(java.util.ResourceBundle pBundle, java.lang.String pKey)
Does a lookup for key pKey
in the
ResourceBundle pBundle
. A possible
MissingResourceException is catched.
public static java.lang.String getResourceValue(java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.String pDefault)
Does a lookup for key pKey
in the
ResourceBundle pBundle
. Returns the lookup
result or the default pDefault
, if a null
value would be returned or a MissingResourceException
is thrown.
public static java.lang.String getNonNullResourceValue(java.util.ResourceBundle pBundle, java.lang.String pKey) throws org.xml.sax.SAXException
Does a lookup for key pKey
in the
ResourceBundle pBundle
. A possible
MissingResourceException is catched and converted into a
SAXException.
org.xml.sax.SAXException
- Contains a nested MissingResourceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |