Skip to main content
Skip table of contents

PRTokeniser (1)

PRTokeniser Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PRTokeniser[[PRTokeniser]]
  end

Members

Properties

Public properties

Methods

Public methods
ReturnsName
voidBackOnePosition(int ch)
voidCheckFdfHeader()
charCheckPdfHeader()
voidClose()
intGetHeaderOffset()
longGetStartxref()
boolIsHexString()
boolNextToken()
voidNextValidToken()
intRead()
boolReadLineSegment(...)
stringReadString(int size)
voidSeek(long pos)
voidThrowError(string error)
Public Static methods
ReturnsName
long``[]CheckObjectStart(byte``[] line)
intGetHex(int v)
boolIsDelimiter(int ch)
boolIsWhitespace(...)

Details

Nested types

Enums
  • TokType

Constructors

PRTokeniser
Source code
public PRTokeniser(RandomAccessFileOrArray file)
Arguments
TypeNameDescription
RandomAccessFileOrArrayfile

Methods

Seek
Source code
public virtual void Seek(long pos)
Arguments
TypeNameDescription
longpos
Close
Source code
public virtual void Close()
Read
Source code
public virtual int Read()
ReadString
Source code
public virtual string ReadString(int size)
Arguments
TypeNameDescription
intsize
IsWhitespace [1/2]
Source code
public static bool IsWhitespace(int ch)
Arguments
TypeNameDescription
intch
IsWhitespace [2/2]
Source code
public static bool IsWhitespace(int ch, bool isWhitespace)
Arguments
TypeNameDescription
intch
boolisWhitespace
IsDelimiter
Source code
public static bool IsDelimiter(int ch)
Arguments
TypeNameDescription
intch
BackOnePosition
Source code
public virtual void BackOnePosition(int ch)
Arguments
TypeNameDescription
intch
ThrowError
Source code
public virtual void ThrowError(string error)
Arguments
TypeNameDescription
stringerror
GetHeaderOffset
Source code
public virtual int GetHeaderOffset()
CheckPdfHeader
Source code
public virtual char CheckPdfHeader()
CheckFdfHeader
Source code
public virtual void CheckFdfHeader()
GetStartxref
Source code
public virtual long GetStartxref()
GetHex
Source code
public static int GetHex(int v)
Arguments
TypeNameDescription
intv
NextValidToken
Source code
public virtual void NextValidToken()
NextToken
Source code
public virtual bool NextToken()
ReadLineSegment [1/2]
Source code
public virtual bool ReadLineSegment(byte[] input)
Arguments
TypeNameDescription
byte``[]input
ReadLineSegment [2/2]
Source code
public virtual bool ReadLineSegment(byte[] input, bool isNullWhitespace)
Arguments
TypeNameDescription
byte``[]input
boolisNullWhitespace
CheckObjectStart
Source code
public static long CheckObjectStart(byte[] line)
Arguments
TypeNameDescription
byte``[]line
IsHexString
Source code
public virtual bool IsHexString()

Properties

FilePointer
public virtual long FilePointer { get; }
Length
public virtual long Length { get; }
SafeFile
public virtual RandomAccessFileOrArray SafeFile { get; }
File
public virtual RandomAccessFileOrArray File { get; }
TokenType
public virtual TokType TokenType { get; }
StringValue
public virtual string StringValue { get; }
Reference
public virtual int Reference { get; }
Generation
public virtual int Generation { get; }
LongValue
public virtual long LongValue { get; }
IntValue
public virtual int IntValue { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.