- All Known Implementing Classes:
DefaultLocaleEncodingManager
public interface LocaleEncodingManager
The LocaleEncodingManager API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCharacterEncoding
(String locale, String encoding) Add a mapping between a locale and an encoding.getCharacterEncoding
(String locale) Get the encoding for the locale.
-
Method Details
-
addCharacterEncoding
Add a mapping between a locale and an encoding.- Parameters:
locale
- the locale.encoding
- the encoding.
-
getCharacterEncoding
Get the encoding for the locale.- Parameters:
locale
- the locale.- Returns:
- the encoding, otherwise null.
-