Class CharacterSetBuilder.DoubleByteLoader
java.lang.Object
org.apache.fop.afp.fonts.CharacterSetBuilder
org.apache.fop.afp.fonts.CharacterSetBuilder.DoubleByteLoader
- Enclosing class:
CharacterSetBuilder
Double-byte (CID Keyed font (Type 0)) implementation of AFPFontReader.
-
Field Summary
FieldsFields inherited from class CharacterSetBuilder
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static CharacterSetBuilder.DoubleByteLoaderloadCodePage(String codePage, String encoding, AFPResourceAccessor accessor, AFPEventProducer eventProducer) Load the code page information from the appropriate file.Methods inherited from class CharacterSetBuilder
build, build, buildDBCS, buildSBCS, getDoubleByteInstance, getSingleByteInstance
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DoubleByteLoader
private DoubleByteLoader()
-
-
Method Details
-
getInstance
-
loadCodePage
protected Map<String,String> loadCodePage(String codePage, String encoding, AFPResourceAccessor accessor, AFPEventProducer eventProducer) throws IOException Description copied from class:CharacterSetBuilderLoad the code page information from the appropriate file. The file name to load is determined by the code page name and the file extension 'CDP'.- Overrides:
loadCodePagein classCharacterSetBuilder- Parameters:
codePage- the code page identifierencoding- the encoding to use for the character decodingaccessor- the resource accessoreventProducer- for handling AFP related events- Returns:
- a code page mapping (key: GCGID, value: Unicode character)
- Throws:
IOException- if an I/O exception of some sort has occurred.
-