public class PostscriptParser
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
class |
PostscriptParser.PSDictionary |
An object representing a Postscript dictionary
|
class |
PostscriptParser.PSElement |
A base Postscript element class
|
class |
PostscriptParser.PSFixedArray |
An object representing a Postscript array with a fixed number of entries
|
class |
PostscriptParser.PSSubroutine |
An object representing a Postscript subroutine element
|
class |
PostscriptParser.PSVariable |
An object representing a Postscript variable
|
class |
PostscriptParser.PSVariableArray |
An object representing a Postscript array with a variable number of entries
|
Modifier and Type | Field | Description |
---|---|---|
protected static org.apache.commons.logging.Log |
LOG |
Constructor | Description |
---|---|
PostscriptParser() |
Modifier and Type | Method | Description |
---|---|---|
PostscriptParser.PSElement |
createElement(java.lang.String operator,
java.lang.String elementID,
int startPoint) |
|
java.util.List<PostscriptParser.PSElement> |
parse(byte[] segment) |
Parses the postscript document and returns a list of elements
|
public java.util.List<PostscriptParser.PSElement> parse(byte[] segment) throws java.io.IOException
segment
- The byte array containing the postscript datajava.io.IOException
public PostscriptParser.PSElement createElement(java.lang.String operator, java.lang.String elementID, int startPoint)
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.