Package org.apache.pdfbox.encoding
Class EncodingManager
java.lang.Object
org.apache.pdfbox.encoding.EncodingManager
This class will handle getting the appropriate encodings.
- Version:
- $Revision: 1.9 $
- Author:
- Ben Litchfield
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EncodingManager
Default singleton instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEncoding
(COSName name) This will get an encoding by name.This will get the standard encoding.
-
Field Details
-
INSTANCE
Default singleton instance of this class.- Since:
- Apache PDFBox 1.3.0
-
-
Constructor Details
-
EncodingManager
public EncodingManager()
-
-
Method Details
-
getStandardEncoding
This will get the standard encoding.- Returns:
- The standard encoding.
-
getEncoding
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.
-