Class Parser
java.lang.Object
org.apache.pdfbox.pdmodel.common.function.type4.Parser
Parser for PDF Type 4 functions. This implements a small subset of the PostScript
language but is no full PostScript interpreter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstract base class for aParser.SyntaxHandler.private static enumUsed to indicate the parsers current state.static interfaceThis interface defines all possible syntactic elements of a Type 4 function.private static final classTokenizer for Type 4 functions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidparse(CharSequence input, Parser.SyntaxHandler handler) Parses a Type 4 function and sends the syntactic elements to the given syntax handler.
-
Constructor Details
-
Parser
private Parser()
-
-
Method Details
-
parse
Parses a Type 4 function and sends the syntactic elements to the given syntax handler.- Parameters:
input- the text sourcehandler- the syntax handler
-