Class Resources.International
java.lang.Object
org.apache.sis.util.AbstractInternationalString
org.apache.sis.util.resources.ResourceInternationalString
org.apache.sis.internal.referencing.Resources.International
- All Implemented Interfaces:
Serializable,CharSequence,Comparable<org.opengis.util.InternationalString>,Formattable,org.opengis.util.InternationalString
- Enclosing class:
- Resources
The international string to be returned by
Resources.formatInternational(short).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IndexedResourceBundleReturns the resource bundle for the given locale.protected KeyConstantsReturns a handler for the constants declared in the innerKeysclass.Methods inherited from class org.apache.sis.util.resources.ResourceInternationalString
equals, hashCode, toLogRecord, toStringMethods inherited from class org.apache.sis.util.AbstractInternationalString
charAt, compareTo, formatTo, length, subSequence, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
International
International(short key) -
International
International(short key, Object args)
-
-
Method Details
-
getKeyConstants
Description copied from class:ResourceInternationalStringReturns a handler for the constants declared in the innerKeysclass. This is used at serialization time in order to serialize the constant name rather than its numeric value.- Specified by:
getKeyConstantsin classResourceInternationalString- Returns:
- a handler for the constants declared in the inner
Keysclass.
-
getBundle
Description copied from class:ResourceInternationalStringReturns the resource bundle for the given locale.- Specified by:
getBundlein classResourceInternationalString- Parameters:
locale- the locale for which to get the resource bundle, ornullfor the default locale.- Returns:
- the resource bundle for the given locale.
-