|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.parser.PDFParser
de.intarsys.pdf.parser.CSContentParser
public class CSContentParser
A parser for .pdf type content streams.
Field Summary |
---|
Constructor Summary | |
---|---|
CSContentParser()
create a COSDocumentParser |
Method Summary | |
---|---|
CSContent |
parseStream(byte[] data)
parse a content stream. |
CSContent |
parseStream(IRandomAccess input)
parse a content stream. |
Methods inherited from class de.intarsys.pdf.parser.PDFParser |
---|
getExceptionHandler, handleError, handleWarning, isDelimiter, isDigit, isEOL, isNumberStart, isOctalDigit, isTokenStart, isWhitespace, parseElement, parseHeader, readInteger, readSpaces, readToken, readToken, setExceptionHandler, toCOSObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSContentParser()
Method Detail |
---|
public CSContent parseStream(byte[] data) throws IOException, COSLoadException
See PDF Reference v1.4, chapter 3.7 Content Streams
data
- A byte array containing the encoded content stream
IOException
COSLoadException
public CSContent parseStream(IRandomAccess input) throws IOException, COSLoadException
See PDF Reference v1.4, chapter 3.7 Content Streams
input
- a open IRandomAccessData positioned at the beginning of the
content stream
IOException
COSLoadException
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |