iText 5

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

Returns

Name

void

BackOnePosition

(int ch)

void

CheckFdfHeader

()

char

CheckPdfHeader

()

void

Close

()

int

GetHeaderOffset

()

long

GetStartxref

()

bool

IsHexString

()

bool

NextToken

()

void

NextValidToken

()

int

Read

()

bool

ReadLineSegment

(...)

string

ReadString

(int size)

void

Seek

(long pos)

void

ThrowError

(string error)

Public Static methods

Returns

Name

long``[]

CheckObjectStart

(byte``[] line)

int

GetHex

(int v)

bool

IsDelimiter

(int ch)

bool

IsWhitespace

(...)

Details

Nested types

Enums
  • TokType

Constructors

PRTokeniser

Source code

public PRTokeniser(RandomAccessFileOrArray file)

Arguments

Type

Name

Description

RandomAccessFileOrArray

file

Methods

Seek

Source code

public virtual void Seek(long pos)

Arguments

Type

Name

Description

long

pos

Close

Source code

public virtual void Close()

Read

Source code

public virtual int Read()

ReadString

Source code

public virtual string ReadString(int size)

Arguments

Type

Name

Description

int

size

IsWhitespace [1/2]

Source code

public static bool IsWhitespace(int ch)

Arguments

Type

Name

Description

int

ch

IsWhitespace [2/2]

Source code

public static bool IsWhitespace(int ch, bool isWhitespace)

Arguments

Type

Name

Description

int

ch

bool

isWhitespace

IsDelimiter

Source code

public static bool IsDelimiter(int ch)

Arguments

Type

Name

Description

int

ch

BackOnePosition

Source code

public virtual void BackOnePosition(int ch)

Arguments

Type

Name

Description

int

ch

ThrowError

Source code

public virtual void ThrowError(string error)

Arguments

Type

Name

Description

string

error

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

Type

Name

Description

int

v

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

Type

Name

Description

byte``[]

input

ReadLineSegment [2/2]

Source code

public virtual bool ReadLineSegment(byte[] input, bool isNullWhitespace)

Arguments

Type

Name

Description

byte``[]

input

bool

isNullWhitespace

CheckObjectStart

Source code

public static long CheckObjectStart(byte[] line)

Arguments

Type

Name

Description

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