SetaPDF_Core_Tokenizer Tokenizer class for PDF documents

File: /SetaPDF/Core/Tokenizer.php

Class hierarchy

Summary

Properties


Methods

__construct()

public SetaPDF_Core_Tokenizer::__construct ( SetaPDF_Core_Reader_ReaderInterface &$reader )

The constructor.

Parameters
$reader : SetaPDF_Core_Reader_ReaderInterface
 

cleanUp()

public void SetaPDF_Core_Tokenizer::cleanUp ( void )

Clean up resources and release cycled references.

getReader()

public SetaPDF_Core_Reader_ReaderInterface SetaPDF_Core_Tokenizer::getReader ( void )

Get the reader class.

isCurrentByteRegularCharacter()

public boolean SetaPDF_Core_Tokenizer::isCurrentByteRegularCharacter ( void )

Check if the current byte is a regular character.

leapWhiteSpaces()

public boolean SetaPDF_Core_Tokenizer::leapWhiteSpaces ( void )

Leap white spaces.

readToken()

public string SetaPDF_Core_Tokenizer::readToken ( void )

Read a token from the reader.

setReader()

public void SetaPDF_Core_Tokenizer::setReader ( SetaPDF_Core_Reader_ReaderInterface &$reader )

Set the reader class.

Parameters
$reader : SetaPDF_Core_Reader_ReaderInterface