Class CMapParser
java.lang.Object
com.lowagie.text.pdf.fonts.cmaps.CMapParser
Deprecated.
This will parser a CMap stream.
- Since:
- 2.1.4
- Version:
- $Revision: 4065 $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classDeprecated.Internal class.private classDeprecated.Internal class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intcompare(byte[] first, byte[] second) Deprecated.private StringcreateStringFromBytes(byte[] bytes) Deprecated.private voidincrement(byte[] data) Deprecated.private voidincrement(byte[] data, int position) Deprecated.private booleanisWhitespaceOrEOF(int aByte) Deprecated.static voidDeprecated.A simple class to test parsing of cmap files.parse(InputStream input) Deprecated.This will parse the stream and create a cmap object.private ObjectDeprecated.private voidreadUntilEndOfLine(InputStream is, StringBuffer buf) Deprecated.
-
Field Details
-
BEGIN_CODESPACE_RANGE
-
BEGIN_BASE_FONT_CHAR
-
BEGIN_BASE_FONT_RANGE
-
MARK_END_OF_DICTIONARY
-
MARK_END_OF_ARRAY
-
tokenParserByteBuffer
private byte[] tokenParserByteBufferDeprecated.
-
-
Constructor Details
-
CMapParser
public CMapParser()Deprecated.Creates a new instance of CMapParser.
-
-
Method Details
-
main
-
parse
Deprecated.This will parse the stream and create a cmap object.- Parameters:
input- The CMAP stream to parse.- Returns:
- The parsed stream as a java object.
- Throws:
IOException- If there is an error parsing the stream.
-
parseNextToken
Deprecated.- Throws:
IOException
-
readUntilEndOfLine
Deprecated.- Throws:
IOException
-
isWhitespaceOrEOF
private boolean isWhitespaceOrEOF(int aByte) Deprecated. -
increment
private void increment(byte[] data) Deprecated. -
increment
private void increment(byte[] data, int position) Deprecated. -
createStringFromBytes
Deprecated.- Throws:
IOException
-
compare
private int compare(byte[] first, byte[] second) Deprecated.
-