|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.openstego.util.LabelUtil
Localized label handler for OpenStego
| Constructor Summary | |
protected |
LabelUtil(String namespace)
Constructor is protected |
| Method Summary | |
static void |
addNamespace(String namespace,
String bundle)
Method to add new namespace using resource bundle |
static LabelUtil |
getInstance(String namespace)
Method to get instance of LabelUtil based on the namespace |
String |
getString(String key)
Method to get label value for the given label key |
String |
getString(String key,
Object[] parameters)
Method to get label value for the given label key (using optional parameters) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LabelUtil(String namespace)
namespace - Namespace for the label| Method Detail |
public static void addNamespace(String namespace,
String bundle)
namespace - Namespace for the labelsbundle - Resource bundle namepublic static LabelUtil getInstance(String namespace)
namespace - Namespace for the labels
public String getString(String key)
key - Key for the label
public String getString(String key,
Object[] parameters)
key - Key for the labelparameters - Parameters to pass for a parameterized label
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||