PDF Clown
0.1.2

org.pdfclown.documents.contents.tokens
Class ContentParser

java.lang.Object
  extended by org.pdfclown.util.parsers.PostScriptParser
      extended by org.pdfclown.tokens.BaseParser
          extended by org.pdfclown.documents.contents.tokens.ContentParser
All Implemented Interfaces:
Closeable

public final class ContentParser
extends BaseParser

Content stream parser [PDF:1.6:3.7.1].

Since:
0.1.1
Version:
0.1.2, 09/24/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.pdfclown.util.parsers.PostScriptParser
PostScriptParser.TokenTypeEnum
 
Constructor Summary
ContentParser(byte[] data)
           
ContentParser(IInputStream stream)
           
 
Method Summary
 ContentObject parseContentObject()
          Parses the next content object [PDF:1.6:4.1].
 List<ContentObject> parseContentObjects()
          Parses the next content objects.
 Operation parseOperation()
          Parses the next operation.
 PdfDirectObject parsePdfObject()
          Parses the current PDF object [PDF:1.6:3.2].
 
Methods inherited from class org.pdfclown.tokens.BaseParser
moveNext, parsePdfObject
 
Methods inherited from class org.pdfclown.util.parsers.PostScriptParser
close, finalize, getHex, getLength, getPosition, getStream, getToken, getToken, getTokenType, hashCode, isDelimiter, isEOL, isWhitespace, moveNext, seek, setToken, setTokenType, skip, skipEOL, skipWhitespace
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentParser

public ContentParser(IInputStream stream)

ContentParser

public ContentParser(byte[] data)
Method Detail

parseContentObject

public ContentObject parseContentObject()
Parses the next content object [PDF:1.6:4.1].


parseContentObjects

public List<ContentObject> parseContentObjects()
Parses the next content objects.


parseOperation

public Operation parseOperation()
Parses the next operation.


parsePdfObject

public PdfDirectObject parsePdfObject()
Description copied from class: BaseParser
Parses the current PDF object [PDF:1.6:3.2].

Overrides:
parsePdfObject in class BaseParser

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.