org.pdfbox.encoding

Class EncodingManager


public class EncodingManager
extends java.lang.Object

This class will handle getting the appropriate encodings.
Version:
$Revision: 1.9 $
Author:
Ben Litchfield

Method Summary

Encoding
getEncoding(COSName name)
This will get an encoding by name.
Encoding
getStandardEncoding()
This will get the standard encoding.

Method Details

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.

getStandardEncoding

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