Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.fonts.type1
Class PostscriptParser

    java.lang.Object
      org.apache.fop.fonts.type1.PostscriptParser

    public class PostscriptParser

extends java.lang.Object

Nested Class Summary
`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

Field Summary
`protected static org.apache.commons.logging.Log` | `LOG`

Constructor Summary
`PostscriptParser()`

Method Summary
`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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LOG

    protected static final org.apache.commons.logging.Log LOG

Constructor Detail

### PostscriptParser

    public PostscriptParser()

Method Detail

### parse

    public java.util.List<PostscriptParser.PSElement> parse(byte[] segment)
                                                     throws java.io.IOException

  Parses the postscript document and returns a list of elements

  Parameters:
    `segment` - The byte array containing the postscript data
  Returns:
    A list of found Postscript elements
  Throws:
    `java.io.IOException`

### createElement

    public PostscriptParser.PSElement createElement(java.lang.String operator,
                                                    java.lang.String elementID,
                                                    int startPoint)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.