|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.JSwat
This class provides access to the localized resource bundle.
This class is a Singleton which means only one instance of this class exists. You use the instanceOf() method to access that instance.
Field Summary | |
protected static JSwat |
instance
Reference to the single instance of this class. |
protected com.bluemarsh.config.JConfigure |
jConfigure
Application configuration. |
protected java.util.ResourceBundle |
resources
String and object resources for our program. |
Constructor Summary | |
protected |
JSwat()
No-arg constructor for JSwat class. |
Method Summary | |
com.bluemarsh.config.JConfigure |
getJConfigure()
Returns a reference to the JConfigure object. |
java.net.URL |
getResource(java.lang.String key)
Retrieves an object from the localized resource bundle. |
java.lang.String |
getResourceString(java.lang.String name)
Retrieves a string from the localized resource bundle. |
static JSwat |
instanceOf()
Returns the reference to the single instance of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static JSwat instance
protected java.util.ResourceBundle resources
protected com.bluemarsh.config.JConfigure jConfigure
Constructor Detail |
protected JSwat()
Method Detail |
public com.bluemarsh.config.JConfigure getJConfigure()
public java.lang.String getResourceString(java.lang.String name)
name
- key name of the string resource to findgetResource(java.lang.String)
public java.net.URL getResource(java.lang.String key)
key
- key name of the resource to findgetResourceString(java.lang.String)
public static JSwat instanceOf()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |