|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.util.AbstractInternationalString
org.geotools.util.SimpleInternationalString
A simple international string consisting of a single string for all locales. For such a particular case, this implementation is the more effective than other implementations provided in this package.
| Constructor Summary | |
SimpleInternationalString(java.lang.String message)
Creates a new instance of international string. |
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
Compares this international string with the specified object for equality. |
int |
hashCode()
Returns a hash code value for this international text. |
java.lang.String |
toString(java.util.Locale locale)
Returns the same string for all locales. |
static AbstractInternationalString |
wrap(java.lang.CharSequence string)
If the specified string is null or an instance of AbstractInternationalString, returns it unchanged.
|
| Methods inherited from class org.geotools.util.AbstractInternationalString |
charAt, compareTo, length, subSequence, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimpleInternationalString(java.lang.String message)
message - The string for all locales.| Method Detail |
public static AbstractInternationalString wrap(java.lang.CharSequence string)
AbstractInternationalString, returns it unchanged.
Otherwise, wraps the string value in a .
public java.lang.String toString(java.util.Locale locale)
toString in interface org.opengis.util.InternationalStringtoString in class AbstractInternationalStringlocale - The desired locale for the string to be returned, or
for a string in the implementation default locale.
public boolean equals(java.lang.Object object)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||