|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.exactparser.parsing.PDFNames
public abstract class PDFNames
Abstract class that contains several frequently used PDF constants.
The PDF specification partitions the character set (ASCII) into three groups:
Newlines consist per default of CR and LF, but also LF and even CR alone are allowed. It seems that all variations of newlines may exist within a single document.
Field Summary | |
---|---|
static byte |
COMMENT
|
static byte |
DELIMITER_ARRAY_CLOSE
|
static byte |
DELIMITER_ARRAY_OPEN
|
static byte[] |
DELIMITER_CHARACTERS
|
static byte |
DELIMITER_CURLY_CLOSE
|
static byte |
DELIMITER_CURLY_OPEN
|
static byte |
DELIMITER_HEXSTRING_CLOSE
|
static byte |
DELIMITER_HEXSTRING_OPEN
|
static byte |
DELIMITER_NAME
|
static byte |
DELIMITER_STRING_CLOSE
|
static byte |
DELIMITER_STRING_OPEN
|
static byte[] |
DICT_END_STR
|
static byte[] |
DICT_START_STR
|
static byte[] |
ENDOBJ_STR
|
static byte[] |
ENDSTREAM_STR
|
static byte[] |
EOF_STR
|
static byte[] |
FALSE_STR
|
static byte[] |
INFO_STR
|
static byte[] |
LENGTH_STR
|
static byte[] |
NULL_STR
|
static byte[] |
OBJ_STR
|
static String |
PDF_STANDARD_ENCODING
The standard encoding of PDF tokens and names. |
static byte |
PDF_VERSION_SEPARATOR
|
static byte[] |
PDF_VERSION_STR
|
static byte[] |
PREV_STR
|
static byte[] |
REFERENCE_STR
|
static byte[] |
ROOT_STR
|
static byte[] |
SIZE_STR
|
static byte[] |
STARTXREF_STR
|
static byte[] |
STREAM_STR
|
static byte[] |
TRAILER_STR
|
static byte[] |
TRUE_STR
|
static byte[] |
WHITESPACE_CHARACTERS
|
static byte |
WHITESPACE_CR
|
static byte |
WHITESPACE_FF
|
static byte |
WHITESPACE_HT
|
static byte |
WHITESPACE_LF
|
static byte |
WHITESPACE_NUL
|
static byte |
WHITESPACE_SP
|
static byte[] |
XREF_STR
|
Constructor Summary | |
---|---|
PDFNames()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PDF_STANDARD_ENCODING
PDF is usually an 8 bit format. Binary data etc. can be saves just as it is. Nevertheless all PDF tokens ('xref', 'obj', etc.) and PDF Names ('/Size', '/Pages', '/Type', etc.) must be in 7 bit ASCII US encoding.
Therefor, whenever using Java Strings to convert e.g. numbers to such PDF tokens use this encoding constant.
The same applies for PDF token/name byte arrays that are retransfromed to Java Strings.
public static final byte WHITESPACE_NUL
public static final byte WHITESPACE_HT
public static final byte WHITESPACE_LF
public static final byte WHITESPACE_FF
public static final byte WHITESPACE_CR
public static final byte WHITESPACE_SP
public static final byte[] WHITESPACE_CHARACTERS
public static final byte COMMENT
public static final byte[] PDF_VERSION_STR
public static final byte PDF_VERSION_SEPARATOR
public static final byte DELIMITER_STRING_OPEN
public static final byte DELIMITER_STRING_CLOSE
public static final byte DELIMITER_HEXSTRING_OPEN
public static final byte DELIMITER_HEXSTRING_CLOSE
public static final byte DELIMITER_ARRAY_OPEN
public static final byte DELIMITER_ARRAY_CLOSE
public static final byte DELIMITER_CURLY_OPEN
public static final byte DELIMITER_CURLY_CLOSE
public static final byte DELIMITER_NAME
public static final byte[] DELIMITER_CHARACTERS
public static final byte[] XREF_STR
public static final byte[] TRAILER_STR
public static final byte[] STARTXREF_STR
public static final byte[] EOF_STR
public static final byte[] OBJ_STR
public static final byte[] ENDOBJ_STR
public static final byte[] DICT_START_STR
public static final byte[] DICT_END_STR
public static final byte[] STREAM_STR
public static final byte[] ENDSTREAM_STR
public static final byte[] NULL_STR
public static final byte[] TRUE_STR
public static final byte[] FALSE_STR
public static final byte[] REFERENCE_STR
public static final byte[] SIZE_STR
public static final byte[] PREV_STR
public static final byte[] ROOT_STR
public static final byte[] INFO_STR
public static final byte[] LENGTH_STR
Constructor Detail |
---|
public PDFNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |