|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webcodepro.applecommander.util.TextBundle
public class TextBundle
Manage the user-interface specific ResourceBundle. Initally, this is to actually clean up the text. Ultimately, it should allow AppleCommander to be translated into other languages.
Note that TextBundle serves as a generic resource for the util package. Other groupings are used and will have their own subclasses for TextBundle.
Constructor Summary | |
---|---|
protected |
TextBundle()
Do not allow other classes to instantiate this class. |
Method Summary | |
---|---|
java.lang.String |
format(java.lang.String name,
int value1)
Format the given resource name with one integer. |
java.lang.String |
format(java.lang.String name,
int value1,
int value2)
Format the given resource name with two integers. |
java.lang.String |
format(java.lang.String name,
int value1,
int value2,
int value3)
Format the given resource name with three integers. |
java.lang.String |
format(java.lang.String name,
java.lang.Object[] values)
Format the given resource name with multiple values. |
java.lang.String |
format(java.lang.String name,
java.lang.String value)
Format the given resource name with a single String value. |
java.lang.String |
format(java.lang.String name,
java.lang.String value1,
int value2)
Format the given resource name with two integers. |
java.lang.String |
get(java.lang.String name)
Retrieve a value for the given resource name. |
static TextBundle |
getInstance()
Get the singleton instance of the UiBundle. |
protected void |
initialize()
Initialize the UiBundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TextBundle()
Method Detail |
---|
public static TextBundle getInstance()
protected void initialize()
public java.lang.String get(java.lang.String name)
public java.lang.String format(java.lang.String name, java.lang.String value)
public java.lang.String format(java.lang.String name, java.lang.Object[] values)
public java.lang.String format(java.lang.String name, int value1)
public java.lang.String format(java.lang.String name, int value1, int value2)
public java.lang.String format(java.lang.String name, int value1, int value2, int value3)
public java.lang.String format(java.lang.String name, java.lang.String value1, int value2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |