Interface LocaleEncodingManager

All Known Implementing Classes:
DefaultLocaleEncodingManager

public interface LocaleEncodingManager
The LocaleEncodingManager API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • addCharacterEncoding

      void addCharacterEncoding(String locale, String encoding)
      Add a mapping between a locale and an encoding.
      Parameters:
      locale - the locale.
      encoding - the encoding.
    • getCharacterEncoding

      String getCharacterEncoding(String locale)
      Get the encoding for the locale.
      Parameters:
      locale - the locale.
      Returns:
      the encoding, otherwise null.