biz.chitec.quarterback.gjsa
Class IntChatSymbolHolder
java.lang.Object
biz.chitec.quarterback.gjsa.ChatSymbolHolder
biz.chitec.quarterback.gjsa.IntChatSymbolHolder
- Direct Known Subclasses:
- EDateRangeSymbols
- public abstract class IntChatSymbolHolder
- extends ChatSymbolHolder
International chat symbol holder.
Adds some methods to the ChatSymbolHolder-pseudo-interface which permit to bind a symbol
to an internationalized message. Internationalization itself is handled through the standard
ResourceBundle mechanisms with the biz.chitec.quarterback.util.RB loader extension.
The resource files bind the messages to the symbolic representation of the symbol. It is possible
to have multiple internationalized representations for the same symbol using a suffix. E.g. the
symbol "FROB" may have a long explanation string "Bileveled communicative frobnification" with the
resource key "FROB.LONG" and a short string "bi-comm. frob." under "FROB.SHORT". These kinds of
strings can be requested through the two-parameter-versions of <sourcetype>ToI18N().
- Version:
- $Id: 0227c97855f0d15b550da746556b0b8d2db025ae $
- Author:
- Dirk Hillbrecht 1997-1999, chitec/Dirk Hillbrecht 2000.
Distributed under the terms of the GNU LGPL.
- See Also:
biz.chitec.qapp.symboltojava.SymbolToJava
Field Summary |
protected java.util.ResourceBundle |
rb
|
Method Summary |
java.lang.String |
anyToI18N(java.lang.Object x)
|
java.lang.String |
anyToI18N(java.lang.Object x,
java.util.Locale locale)
|
java.lang.String |
anyToI18N(java.lang.Object x,
java.lang.String modifier)
|
java.lang.String |
anyToI18N(java.lang.Object x,
java.lang.String modifier,
java.util.Locale locale)
|
java.util.ResourceBundle |
getBundle()
|
java.lang.String |
numericToI18N(int x)
|
java.lang.String |
numericToI18N(int x,
java.util.Locale locale)
|
java.lang.String |
numericToI18N(int xx,
java.lang.String modifier)
|
java.lang.String |
numericToI18N(int xx,
java.lang.String modifier,
java.util.Locale locale)
|
NumberedString |
numericToI18NNumberedString(int xx)
|
NumberedString |
numericToI18NNumberedString(int xx,
java.util.Locale locale)
|
NumberedString |
numericToI18NNumberedString(int xx,
java.lang.String modifier)
|
NumberedString |
numericToI18NNumberedString(int xx,
java.lang.String modifier,
java.util.Locale locale)
|
void |
setLocale(java.util.Locale lo)
|
java.lang.String |
symbolToI18N(java.lang.String x)
|
java.lang.String |
symbolToI18N(java.lang.String x,
java.util.Locale locale)
|
java.lang.String |
symbolToI18N(java.lang.String xx,
java.lang.String modifier)
|
java.lang.String |
symbolToI18N(java.lang.String xx,
java.lang.String modifier,
java.util.Locale locale)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rb
protected java.util.ResourceBundle rb
IntChatSymbolHolder
public IntChatSymbolHolder()
setLocale
public void setLocale(java.util.Locale lo)
symbolToI18N
public java.lang.String symbolToI18N(java.lang.String x,
java.util.Locale locale)
symbolToI18N
public java.lang.String symbolToI18N(java.lang.String x)
numericToI18N
public java.lang.String numericToI18N(int x,
java.util.Locale locale)
numericToI18N
public java.lang.String numericToI18N(int x)
anyToI18N
public java.lang.String anyToI18N(java.lang.Object x,
java.util.Locale locale)
anyToI18N
public java.lang.String anyToI18N(java.lang.Object x)
symbolToI18N
public java.lang.String symbolToI18N(java.lang.String xx,
java.lang.String modifier)
numericToI18N
public java.lang.String numericToI18N(int xx,
java.lang.String modifier)
anyToI18N
public java.lang.String anyToI18N(java.lang.Object x,
java.lang.String modifier)
symbolToI18N
public java.lang.String symbolToI18N(java.lang.String xx,
java.lang.String modifier,
java.util.Locale locale)
numericToI18N
public java.lang.String numericToI18N(int xx,
java.lang.String modifier,
java.util.Locale locale)
anyToI18N
public java.lang.String anyToI18N(java.lang.Object x,
java.lang.String modifier,
java.util.Locale locale)
numericToI18NNumberedString
public NumberedString numericToI18NNumberedString(int xx,
java.util.Locale locale)
numericToI18NNumberedString
public NumberedString numericToI18NNumberedString(int xx)
numericToI18NNumberedString
public NumberedString numericToI18NNumberedString(int xx,
java.lang.String modifier,
java.util.Locale locale)
numericToI18NNumberedString
public NumberedString numericToI18NNumberedString(int xx,
java.lang.String modifier)
getBundle
public java.util.ResourceBundle getBundle()