Class PRTokeniser

java.lang.Object
com.lowagie.text.pdf.PRTokeniser
All Implemented Interfaces:
AutoCloseable

@Deprecated public class PRTokeniser extends Object implements AutoCloseable
Deprecated.
Author:
Paulo Soares (psoares@consiste.pt)
  • Field Details

    • TK_NUMBER

      public static final int TK_NUMBER
      Deprecated.
      See Also:
    • TK_STRING

      public static final int TK_STRING
      Deprecated.
      See Also:
    • TK_NAME

      public static final int TK_NAME
      Deprecated.
      See Also:
    • TK_COMMENT

      public static final int TK_COMMENT
      Deprecated.
      See Also:
    • TK_START_ARRAY

      public static final int TK_START_ARRAY
      Deprecated.
      See Also:
    • TK_END_ARRAY

      public static final int TK_END_ARRAY
      Deprecated.
      See Also:
    • TK_START_DIC

      public static final int TK_START_DIC
      Deprecated.
      See Also:
    • TK_END_DIC

      public static final int TK_END_DIC
      Deprecated.
      See Also:
    • TK_REF

      public static final int TK_REF
      Deprecated.
      See Also:
    • TK_OTHER

      public static final int TK_OTHER
      Deprecated.
      See Also:
    • TK_ENDOFFILE

      public static final int TK_ENDOFFILE
      Deprecated.
      See Also:
    • delims

      public static final boolean[] delims
      Deprecated.
    • file

      protected RandomAccessFileOrArray file
      Deprecated.
    • type

      protected int type
      Deprecated.
    • stringValue

      protected String stringValue
      Deprecated.
    • reference

      protected int reference
      Deprecated.
    • generation

      protected int generation
      Deprecated.
    • hexString

      protected boolean hexString
      Deprecated.
  • Constructor Details

  • 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

      public void seek(int pos) throws IOException
      Deprecated.
      Throws:
      IOException
    • getFilePointer

      public int getFilePointer() throws IOException
      Deprecated.
      Throws:
      IOException
    • close

      public void close() throws IOException
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException
    • length

      public int length() throws IOException
      Deprecated.
      Throws:
      IOException
    • read

      public int read() throws IOException
      Deprecated.
      Throws:
      IOException
    • getSafeFile

      public RandomAccessFileOrArray getSafeFile()
      Deprecated.
    • getFile

      public RandomAccessFileOrArray getFile()
      Deprecated.
    • readString

      public String readString(int size) throws IOException
      Deprecated.
      Throws:
      IOException
    • getTokenType

      public int getTokenType()
      Deprecated.
    • getStringValue

      public String getStringValue()
      Deprecated.
    • getReference

      public int getReference()
      Deprecated.
    • getGeneration

      public int getGeneration()
      Deprecated.
    • backOnePosition

      public void backOnePosition(int ch)
      Deprecated.
    • throwError

      public void throwError(String error) throws IOException
      Deprecated.
      Throws:
      IOException
    • checkPdfHeader

      public char checkPdfHeader() throws IOException
      Deprecated.
      Throws:
      IOException
    • checkFdfHeader

      public void checkFdfHeader() throws IOException
      Deprecated.
      Throws:
      IOException
    • getStartxref

      public int getStartxref() throws IOException
      Deprecated.
      Throws:
      IOException
    • nextValidToken

      public void nextValidToken() throws IOException
      Deprecated.
      Throws:
      IOException
    • nextToken

      public boolean nextToken() throws IOException
      Deprecated.
      Throws:
      IOException
    • intValue

      public int intValue()
      Deprecated.
    • readLineSegment

      public boolean readLineSegment(byte[] input) throws IOException
      Deprecated.
      Throws:
      IOException
    • isHexString

      public boolean isHexString()
      Deprecated.