org.opengts.util
Class I18N.Text
java.lang.Object
org.opengts.util.I18N.Text
- Enclosing class:
- I18N
public static class I18N.Text
- extends java.lang.Object
Class used to provide lazy localization
Constructor Summary |
I18N.Text()
|
I18N.Text(java.lang.Class clazz,
java.lang.String key,
java.lang.String dft)
|
I18N.Text(java.lang.String dft)
|
I18N.Text(java.lang.String pkg,
java.lang.String key,
java.lang.String dft)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
I18N.Text
public I18N.Text()
I18N.Text
public I18N.Text(java.lang.String dft)
I18N.Text
public I18N.Text(java.lang.String pkg,
java.lang.String key,
java.lang.String dft)
I18N.Text
public I18N.Text(java.lang.Class clazz,
java.lang.String key,
java.lang.String dft)
hasPackage
public boolean hasPackage()
getPackage
public java.lang.String getPackage()
hasKey
public boolean hasKey()
getKey
public java.lang.String getKey()
getDefault
public java.lang.String getDefault()
getDefault
public java.lang.String getDefault(boolean decodeNewLine)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(I18N i18n)
toString
public java.lang.String toString(I18N i18n,
java.lang.String dftVal)
toString
public java.lang.String toString(java.util.Locale loc)
toString
public java.lang.String toString(java.util.Locale loc,
java.lang.String dftVal)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object