Module org.apache.sis.util
Package org.apache.sis.util

# Interface Localized

All Known Implementing Classes:
  `AngleFormat`, `AssociationRoleBuilder`, `AttributeTypeBuilder`, `Canvas`, `CascadedStoreEvent`, `CharacteristicTypeBuilder`, `CloseEvent`, `CompoundFormat`, `CoordinateFormat`, `CoverageCanvas`, `CoverageExplorer`, `DataStore`, `EPSGDataAccess`, `EPSGFactory`, `FeatureFormat`, `FeatureTypeBuilder`, `Formatter`, `GeoTiffStore`, `GridSliceSelector`, `IdentifiedObjectSet`, `ImagePropertyExplorer`, `LandsatStore`, `LocationFormat`, `LogViewer`, `MapCanvas`, `MapCanvasAWT`, `MetadataSummary`, `NetcdfStore`, `OptionalInstallations`, `ParameterFormat`, `PlanarCanvas`, `PropertyTypeBuilder`, `RangeFormat`, `ResourceExplorer`, `ResourcesDownloader`, `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 Type
  Method
  Description
  `Locale`
  `getLocale()`
  Returns the locale of the implemented service.

- ## Method Details

  - ### getLocale

    Locale getLocale()
    Returns the locale of the implemented service. Some implementations may return `null` if 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​.ROOT` for an "unlocalized" service. For example, the service may format numbers using `Double​.toString(double)` instead of `NumberFormat`.
    Implementations are encouraged to return a non-null value in every cases. Nevertheless client codes should be prepared to receive null values.
    Returns:
      the locale, or `null` if not explicitly defined.