org.pdfbox.encoding
Class EncodingManager

java.lang.Object
  extended byorg.pdfbox.encoding.EncodingManager

public class EncodingManager
extends Object

This class will handle getting the appropriate encodings.

Version:
$Revision: 1.9 $
Author:
Ben Litchfield

Constructor Summary
EncodingManager()
           
 
Method Summary
 Encoding getEncoding(COSName name)
          This will get an encoding by name.
 Encoding getStandardEncoding()
          This will get the standard encoding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodingManager

public EncodingManager()
Method Detail

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 not encoding with that name.