Interface Localized
- All Known Implementing Classes:
AngleFormat, AssociationRoleBuilder, AttributeTypeBuilder, Canvas, CascadedStoreEvent, CharacteristicTypeBuilder, CloseEvent, CompoundFormat, CoordinateFormat, CoordinateOperationContext, CoverageCanvas, CoverageExplorer, DataStore, EPSGDataAccess, EPSGFactory, FeatureFormat, FeatureTypeBuilder, Formatter, GDALStore, GeoTiffStore, GridSliceSelector, IdentifiedObjectSet, ImagePropertyExplorer, LandsatStore, LocationFormat, LogViewer, MapCanvas, MapCanvasAWT, MarshalContext, MetadataSummary, NetcdfStore, OptionalInstallations, ParameterFormat, PlanarCanvas, PropertyTypeBuilder, RangeFormat, ResourceExplorer, ResourcesDownloader, SimpleFeatureStore, SQLStore, StatisticsFormat, StatusBar, StoreEvent, StoreListeners, Symbols, TabularFormat, TreeTableFormat, TypeBuilder, UnitFormat, WarningEvent, Warnings, Widget, WKTFormat
public interface Localized
Interface of classes for which each instance is configured for a particular locale.
Those classes are often parsers or formatters.
- Since:
- 0.3
-
Method Summary
Modifier and TypeMethodDescriptionReturns the locale of the implemented service.
-
Method Details
-
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 ofNumberFormat.
- Returns:
- the locale, or
nullif not explicitly defined.
-