Class EncodingManager

java.lang.Object
org.apache.pdfbox.encoding.EncodingManager

public class EncodingManager extends Object
This class will handle getting the appropriate encodings.
Version:
$Revision: 1.9 $
Author:
Ben Litchfield
  • Field Details

    • INSTANCE

      public static final EncodingManager INSTANCE
      Default singleton instance of this class.
      Since:
      Apache PDFBox 1.3.0
  • Constructor Details

    • EncodingManager

      public EncodingManager()
  • Method Details

    • getStandardEncoding

      public Encoding getStandardEncoding()
      This will get the standard encoding.
      Returns:
      The standard encoding.
    • getEncoding

      public Encoding getEncoding(COSName name) throws IOException
      This will get an encoding by name.
      Parameters:
      name - The name of the encoding to get.
      Returns:
      The encoding that matches the name.
      Throws:
      IOException - if there is no encoding with that name.