public final class CosToken extends Object
| Modifier and Type | Field and Description |
|---|---|
static BigDecimal |
MAX_REAL |
static BigDecimal |
MIN_FLOAT_APPROACHING_TO_ZERO |
| Modifier and Type | Method and Description |
|---|---|
static void |
skipObject(CosDocument doc,
InputByteStream buf,
byte b)
This method tokenizes the document stream to reach the position where object definition
is completed.
|
static byte |
skipWhitespace(InputByteStream buf)
Skips over whitespace in the input stream.
|
static byte |
toHexDigit(byte b)
Converts the specified hexidecimal character to a byte value.
|
public static final BigDecimal MIN_FLOAT_APPROACHING_TO_ZERO
public static final BigDecimal MAX_REAL
public static byte toHexDigit(byte b)
throws PDFCosParseException
b - Hex character to convertPDFCosParseExceptionpublic static byte skipWhitespace(InputByteStream buf) throws IOException, PDFCosParseException
buf - Buffer to parseIOExceptionPDFCosParseExceptionpublic static void skipObject(CosDocument doc, InputByteStream buf, byte b) throws PDFCosParseException, IOException, PDFSecurityException, PDFIOException
doc - Document containing the COS objectbuf - Buffer to skipb - Starting bytePDFCosParseExceptionIOExceptionPDFSecurityExceptionPDFIOExceptionPDFIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved