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, StatisticsFormat, Symbols, TabularFormat, TreeTableFormat, TypeBuilder, UnitFormat, WarningListeners, Warnings, 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

  Defined in the `sis-utility` module

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Locale` | `getLocale()` Returns the locale of the implemented service.

- - ### Method Detail

    - #### 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 than `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.

Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.