Property | Defined By | ||
---|---|---|---|
length : int [read-only] | PRTokeniser | ||
stringValue : String | PRTokeniser |
Property | Defined By | ||
---|---|---|---|
file : RandomAccessFileOrArray | PRTokeniser | ||
generation : int | PRTokeniser | ||
hexString : Boolean | PRTokeniser | ||
reference : int | PRTokeniser | ||
type : int | PRTokeniser |
Method | Defined By | ||
---|---|---|---|
PRTokeniser(pdfIn:ByteArray) | PRTokeniser | ||
backOnePosition(ch:int):void | PRTokeniser | ||
checkPdfHeader():int | PRTokeniser | ||
PRTokeniser | |||
getFilePointer():int | PRTokeniser | ||
getGeneration():int | PRTokeniser | ||
getHex(v:int):int [static] | PRTokeniser | ||
getReference():int | PRTokeniser | ||
PRTokeniser | |||
getStartxref():int | PRTokeniser | ||
getStringValue():String | PRTokeniser | ||
getTokenType():int | PRTokeniser | ||
intValue():int | PRTokeniser | ||
isDelimiter(ch:int):Boolean [static] | PRTokeniser | ||
isDelimiterWhitespace(ch:int):Boolean [static] | PRTokeniser | ||
isHexString():Boolean | PRTokeniser | ||
isWhitespace(ch:int):Boolean [static] | PRTokeniser | ||
nextToken():Boolean | PRTokeniser | ||
nextValidToken():void | PRTokeniser | ||
readInt():int | PRTokeniser | ||
readLineSegment(input:Bytes):Boolean | PRTokeniser | ||
readString(size:int):String | PRTokeniser | ||
seek(pos:int):void | PRTokeniser | ||
throwError(error:String):void | PRTokeniser |
Constant | Defined By | ||
---|---|---|---|
delims : Vector.<Boolean> [static] | PRTokeniser | ||
TK_COMMENT : int = 4 [static] | PRTokeniser | ||
TK_END_ARRAY : int = 6 [static] | PRTokeniser | ||
TK_END_DIC : int = 8 [static] | PRTokeniser | ||
TK_ENDOFFILE : int = 11 [static] | PRTokeniser | ||
TK_NAME : int = 3 [static] | PRTokeniser | ||
TK_NUMBER : int = 1 [static] | PRTokeniser | ||
TK_OTHER : int = 10 [static] | PRTokeniser | ||
TK_REF : int = 9 [static] | PRTokeniser | ||
TK_START_ARRAY : int = 5 [static] | PRTokeniser | ||
TK_START_DIC : int = 7 [static] | PRTokeniser | ||
TK_STRING : int = 2 [static] | PRTokeniser |
file | property |
protected var file:RandomAccessFileOrArray
generation | property |
protected var generation:int
hexString | property |
protected var hexString:Boolean
length | property |
length:int
[read-only] public function get length():int
reference | property |
protected var reference:int
stringValue | property |
public var stringValue:String
type | property |
protected var type:int
PRTokeniser | () | Constructor |
public function PRTokeniser(pdfIn:ByteArray)
pdfIn:ByteArray |
backOnePosition | () | method |
public function backOnePosition(ch:int):void
Parameters
ch:int |
checkPdfHeader | () | method |
public function checkPdfHeader():int
Returnsint |
getFile | () | method |
getFilePointer | () | method |
public function getFilePointer():int
Returnsint |
getGeneration | () | method |
public function getGeneration():int
Returnsint |
getHex | () | method |
public static function getHex(v:int):int
Parameters
v:int |
int |
getReference | () | method |
public function getReference():int
Returnsint |
getSafeFile | () | method |
getStartxref | () | method |
public function getStartxref():int
Returns
int |
EOFError
|
getStringValue | () | method |
public function getStringValue():String
ReturnsString |
getTokenType | () | method |
public function getTokenType():int
Returnsint |
intValue | () | method |
public function intValue():int
Returnsint |
isDelimiter | () | method |
public static function isDelimiter(ch:int):Boolean
Parameters
ch:int |
Boolean |
isDelimiterWhitespace | () | method |
public static function isDelimiterWhitespace(ch:int):Boolean
Parameters
ch:int |
Boolean |
isHexString | () | method |
public function isHexString():Boolean
ReturnsBoolean |
isWhitespace | () | method |
public static function isWhitespace(ch:int):Boolean
Parameters
ch:int |
Boolean |
nextToken | () | method |
public function nextToken():Boolean
Returns
Boolean |
EOFError
|
nextValidToken | () | method |
public function nextValidToken():void
readInt | () | method |
public function readInt():int
Returnsint |
readLineSegment | () | method |
readString | () | method |
public function readString(size:int):String
Parameters
size:int |
String |
seek | () | method |
public function seek(pos:int):void
Parameters
pos:int |
EOFError
|
throwError | () | method |
public function throwError(error:String):void
Parameters
error:String |
delims | Constant |
public static const delims:Vector.<Boolean>
TK_COMMENT | Constant |
public static const TK_COMMENT:int = 4
TK_END_ARRAY | Constant |
public static const TK_END_ARRAY:int = 6
TK_END_DIC | Constant |
public static const TK_END_DIC:int = 8
TK_ENDOFFILE | Constant |
public static const TK_ENDOFFILE:int = 11
TK_NAME | Constant |
public static const TK_NAME:int = 3
TK_NUMBER | Constant |
public static const TK_NUMBER:int = 1
TK_OTHER | Constant |
public static const TK_OTHER:int = 10
TK_REF | Constant |
public static const TK_REF:int = 9
TK_START_ARRAY | Constant |
public static const TK_START_ARRAY:int = 5
TK_START_DIC | Constant |
public static const TK_START_DIC:int = 7
TK_STRING | Constant |
public static const TK_STRING:int = 2