Method Summary |
|
public void | addXref(PDFXref xref) This will add an xref. |
public List | getXrefs() This will get all of the xrefs. |
protected boolean | isClosing() This will tell if the next character is a closing brace( close of PDF array ). |
protected boolean | isClosing(int c) This will tell if the next character is a closing brace( close of PDF array ). |
protected boolean | isEOL() This will tell if the next byte to be read is an end of line byte. |
protected boolean | isEOL(int c) This will tell if the next byte to be read is an end of line byte. |
protected boolean | isEndOfName(char ch) Determine if a character terminates a PDF name. |
protected boolean | isWhitespace() This will tell if the next byte is whitespace or not. |
protected boolean | isWhitespace(int c) This will tell if the next byte is whitespace or not. |
protected COSBoolean | parseBoolean() This will parse a boolean object from the stream. |
protected COSArray | parseCOSArray() This will parse a PDF array object. |
protected COSDictionary | parseCOSDictionary() This will parse a PDF dictionary. |
protected COSName | parseCOSName() This will parse a PDF name from the stream. |
protected COSStream | parseCOSStream(COSDictionary dic, RandomAccess file) This will read a COSStream from the input stream.
Parameters: file - The file to write the stream to when reading. Parameters: dic - The dictionary that goes with this stream. |
protected COSString | parseCOSString() This will parse a PDF string. |
protected COSBase | parseDirObject() This will parse a directory object from the stream. |
protected String | readExpectedString(String theString) This will read bytes until the end of line marker occurs.
Parameters: theString - The next expected string in the stream. |
protected int | readInt() This will read an integer from the stream. |
protected String | readLine() This will read bytes until the end of line marker occurs. |
protected String | readString() This will read the next string from the stream. |
protected String | readString(int length) This will read the next string from the stream up to a certain length.
Parameters: length - The length to stop reading at. |
public void | setDocument(COSDocument doc) Set the document for this stream. |
protected void | skipSpaces() This will skip all spaces and comments that are present. |