Class PostscriptParser
java.lang.Object
org.apache.fop.fonts.type1.PostscriptParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAn object representing a Postscript dictionaryclassA base Postscript element classclassAn object representing a Postscript array with a fixed number of entriesclassAn object representing a Postscript subroutine elementclassAn object representing a Postscript variableclassAn object representing a Postscript array with a variable number of entries -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateElement(String operator, String elementID, int startPoint) private booleanhasEndToken(String token) private booleanhasMatch(String operator, List<PostscriptParser.PSElement> elements) parse(byte[] segment) Parses the postscript document and returns a list of elements
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOG -
DICTIONARY
- See Also:
-
FIXED_ARRAY
- See Also:
-
VARIABLE_ARRAY
- See Also:
-
SUBROUTINE
- See Also:
-
subroutines
-
-
Constructor Details
-
PostscriptParser
public PostscriptParser()
-
-
Method Details
-
parse
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:
IOException
-
hasEndToken
-
hasMatch
-
createElement
-