Class IanaEncodings

java.lang.Object
com.lowagie.text.xml.simpleparser.IanaEncodings

public class IanaEncodings extends Object
Translates a IANA encoding name to a Java encoding.
  • Field Details

    • map

      private static final Map<String,String> map
      The object that maps IANA to Java encodings.
  • Constructor Details

    • IanaEncodings

      public IanaEncodings()
  • Method Details

    • getJavaEncoding

      public static String getJavaEncoding(String iana)
      Gets the java encoding from the IANA encoding. If the encoding cannot be found it returns the input.
      Parameters:
      iana - the IANA encoding
      Returns:
      the java encoding