Package org.apache.sis.util
Interface Localized
-
- All Known Implementing Classes:
AngleFormat,AssociationRoleBuilder,AttributeTypeBuilder,CharacteristicTypeBuilder,CompoundFormat,CoordinateFormat,DataStore,EPSGDataAccess,EPSGFactory,FeatureFormat,FeatureTypeBuilder,Formatter,GeoTiffStore,IdentifiedObjectSet,LandsatStore,LocationFormat,NetcdfStore,ParameterFormat,PropertyTypeBuilder,RangeFormat,SQLStore,StatisticsFormat,StoreEvent,StoreListeners,Symbols,TabularFormat,TreeTableFormat,TypeBuilder,UnitFormat,WarningEvent,WarningListeners,Warnings,WKTFormat
public interface LocalizedInterface of classes for which each instance is configured for a particular locale. Those classes are often parsers or formatters.- Since:
- 0.3
Defined in the
sis-utilitymodule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalegetLocale()Returns the locale of the implemented service.
-
-
-
Method Detail
-
getLocale
Locale getLocale()
Returns the locale of the implemented service. Some implementations may returnnullif no locale is explicitly defined. The meaning of null locale is implementation-dependent, but typical interpretations are:- A synonymous of the system default locale.
- A synonymous of
Locale.ROOTfor an "unlocalized" service. For example the service may format numbers usingDouble.toString(double)instead thanNumberFormat.
- Returns:
- the locale, or
nullif not explicitly defined.
-
-