Package org.apache.sis.internal.feature
Class Resources.International
java.lang.Object
org.apache.sis.util.AbstractInternationalString
org.apache.sis.util.resources.ResourceInternationalString
org.apache.sis.internal.feature.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,java.lang.Object...)
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IndexedResourceBundle
Returns the resource bundle for the given locale.protected KeyConstants
Returns a handler for the constants declared in the innerKeys
class.Methods inherited from class org.apache.sis.util.resources.ResourceInternationalString
equals, hashCode, toLogRecord, toString
Methods inherited from class org.apache.sis.util.AbstractInternationalString
charAt, compareTo, formatTo, length, subSequence, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
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:ResourceInternationalString
Returns a handler for the constants declared in the innerKeys
class. This is used at serialization time in order to serialize the constant name rather than its numeric value.- Specified by:
getKeyConstants
in classResourceInternationalString
- Returns:
- a handler for the constants declared in the inner
Keys
class.
-
getBundle
Description copied from class:ResourceInternationalString
Returns the resource bundle for the given locale.- Specified by:
getBundle
in classResourceInternationalString
- Parameters:
locale
- the locale for which to get the resource bundle, ornull
for the default locale.- Returns:
- the resource bundle for the given locale.
-