Package com.drew.metadata.iptc
Class Iso2022Converter
java.lang.Object
com.drew.metadata.iptc.Iso2022Converter
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertISO2022CharsetToJavaCharset(byte[] bytes) Converts the given ISO2022 char set to a Java charset name.
-
Method Details
-
convertISO2022CharsetToJavaCharset
Converts the given ISO2022 char set to a Java charset name. A reference of valid charsets can be found here: http://nozer0.github.io/en/technology/system/character-encoding/#ISO/IEC%202022- Parameters:
bytes- string data encoded using ISO2022- Returns:
- the Java charset name as a string, or
nullif the conversion was not possible
-