java.lang.Object
com.lowagie.text.pdf.PRTokeniser
- All Implemented Interfaces:
AutoCloseable
Deprecated.
- Author:
- Paulo Soares (psoares@consiste.pt)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean[]Deprecated.protected RandomAccessFileOrArrayDeprecated.protected intDeprecated.protected booleanDeprecated.protected intDeprecated.protected StringDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.protected intDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionPRTokeniser(byte[] pdfIn) Deprecated.Deprecated.PRTokeniser(String filename) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidbackOnePosition(int ch) Deprecated.voidDeprecated.static int[]checkObjectStart(byte[] line) Deprecated.charDeprecated.voidclose()Deprecated.getFile()Deprecated.intDeprecated.intDeprecated.static intgetHex(int v) Deprecated.intDeprecated.Deprecated.intDeprecated.Deprecated.intDeprecated.intintValue()Deprecated.static final booleanisDelimiter(int ch) Deprecated.static final booleanisDelimiterWhitespace(int ch) Deprecated.booleanDeprecated.static final booleanisWhitespace(int ch) Deprecated.intlength()Deprecated.booleanDeprecated.voidDeprecated.intread()Deprecated.booleanreadLineSegment(byte[] input) Deprecated.readString(int size) Deprecated.voidseek(int pos) Deprecated.voidthrowError(String error) Deprecated.
-
Field Details
-
TK_NUMBER
public static final int TK_NUMBERDeprecated.- See Also:
-
TK_STRING
public static final int TK_STRINGDeprecated.- See Also:
-
TK_NAME
public static final int TK_NAMEDeprecated.- See Also:
-
TK_COMMENT
public static final int TK_COMMENTDeprecated.- See Also:
-
TK_START_ARRAY
public static final int TK_START_ARRAYDeprecated.- See Also:
-
TK_END_ARRAY
public static final int TK_END_ARRAYDeprecated.- See Also:
-
TK_START_DIC
public static final int TK_START_DICDeprecated.- See Also:
-
TK_END_DIC
public static final int TK_END_DICDeprecated.- See Also:
-
TK_REF
public static final int TK_REFDeprecated.- See Also:
-
TK_OTHER
public static final int TK_OTHERDeprecated.- See Also:
-
TK_ENDOFFILE
public static final int TK_ENDOFFILEDeprecated.- See Also:
-
delims
public static final boolean[] delimsDeprecated. -
file
Deprecated. -
type
protected int typeDeprecated. -
stringValue
Deprecated. -
reference
protected int referenceDeprecated. -
generation
protected int generationDeprecated. -
hexString
protected boolean hexStringDeprecated.
-
-
Constructor Details
-
PRTokeniser
Deprecated.- Throws:
IOException
-
PRTokeniser
public PRTokeniser(byte[] pdfIn) Deprecated. -
PRTokeniser
Deprecated.
-
-
Method Details
-
isWhitespace
public static final boolean isWhitespace(int ch) Deprecated. -
isDelimiter
public static final boolean isDelimiter(int ch) Deprecated. -
isDelimiterWhitespace
public static final boolean isDelimiterWhitespace(int ch) Deprecated. -
getHex
public static int getHex(int v) Deprecated. -
checkObjectStart
public static int[] checkObjectStart(byte[] line) Deprecated. -
seek
Deprecated.- Throws:
IOException
-
getFilePointer
Deprecated.- Throws:
IOException
-
close
Deprecated.- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
length
Deprecated.- Throws:
IOException
-
read
Deprecated.- Throws:
IOException
-
getSafeFile
Deprecated. -
getFile
Deprecated. -
readString
Deprecated.- Throws:
IOException
-
getTokenType
public int getTokenType()Deprecated. -
getStringValue
Deprecated. -
getReference
public int getReference()Deprecated. -
getGeneration
public int getGeneration()Deprecated. -
backOnePosition
public void backOnePosition(int ch) Deprecated. -
throwError
Deprecated.- Throws:
IOException
-
checkPdfHeader
Deprecated.- Throws:
IOException
-
checkFdfHeader
Deprecated.- Throws:
IOException
-
getStartxref
Deprecated.- Throws:
IOException
-
nextValidToken
Deprecated.- Throws:
IOException
-
nextToken
Deprecated.- Throws:
IOException
-
intValue
public int intValue()Deprecated. -
readLineSegment
Deprecated.- Throws:
IOException
-
isHexString
public boolean isHexString()Deprecated.
-