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