Package org.apache.sis.io
Class IdentifiedObjectFormat
java.lang.Object
java.text.Format
org.apache.sis.io.IdentifiedObjectFormat
- All Implemented Interfaces:
Serializable
,Cloneable
Used by
CompoundFormat
for formatting the name of objects of type IdentifiedObject
.- Since:
- 0.4
- Version:
- 0.4
-
Nested Class Summary
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Locale
The locale to use.private static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionIdentifiedObjectFormat
(Locale locale) Creates an instance for the given locale. -
Method Summary
Modifier and TypeMethodDescriptionformat
(Object obj, StringBuffer toAppendTo, FieldPosition pos) Formats the given object.parseObject
(String source, ParsePosition pos) Cannot parse object only from their name.Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
locale
The locale to use.
-
-
Constructor Details
-
IdentifiedObjectFormat
IdentifiedObjectFormat(Locale locale) Creates an instance for the given locale.
-
-
Method Details
-
format
Formats the given object. -
parseObject
Cannot parse object only from their name.- Specified by:
parseObject
in classFormat
-