public class EncodingManager extends Object
Modifier and Type | Field and Description |
---|---|
static EncodingManager |
INSTANCE
Default singleton instance of this class.
|
Constructor and Description |
---|
EncodingManager() |
Modifier and Type | Method and Description |
---|---|
Encoding |
getEncoding(COSName name)
This will get an encoding by name.
|
Encoding |
getStandardEncoding()
This will get the standard encoding.
|
public static final EncodingManager INSTANCE
public Encoding getStandardEncoding()
public Encoding getEncoding(COSName name) throws IOException
name
- The name of the encoding to get.IOException
- if there is no encoding with that name.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.