Class PDFParser.Tok

java.lang.Object
org.openpdf.renderer.PDFParser.Tok
Enclosing class:
PDFParser

static class PDFParser.Tok extends Object
a token from a PDF Stream
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    begin array [
    static final int
    end array ]
    static final int
    begin brace {
    static final int
    end brace }
    static final int
    begin bracket <
    static final int
    end bracket >
    static final int
    keyword
    static final int
    end of stream
    the string value of a STR, NAME, or CMD token
    static final int
    name (begins with /)
    static final int
    number
    static final int
    String (, readString looks for trailing )
    int
    the type of the token
    static final int
    unknown token
    double
    the value of a NUM token
  • Constructor Summary

    Constructors
    Constructor
    Description
    Tok()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reset the token to it's original state
    a printable representation of the token

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • Tok

      Tok()
  • Method Details

    • toString

      public String toString()
      a printable representation of the token
      Overrides:
      toString in class Object
    • reset

      public void reset()
      reset the token to it's original state