Class Parser
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.common.function.type4.Parser
-
public final class Parser extends java.lang.ObjectParser for PDF Type 4 functions. This implements a small subset of the PostScript language but is no full PostScript interpreter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParser.AbstractSyntaxHandlerAbstract base class for aParser.SyntaxHandler.private static classParser.StateUsed to indicate the parsers current state.static interfaceParser.SyntaxHandlerThis interface defines all possible syntactic elements of a Type 4 function.private static classParser.TokenizerTokenizer for Type 4 functions.
-
Constructor Summary
Constructors Modifier Constructor Description privateParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidparse(java.lang.CharSequence input, Parser.SyntaxHandler handler)Parses a Type 4 function and sends the syntactic elements to the given syntax handler.
-
-
-
Method Detail
-
parse
public static void parse(java.lang.CharSequence input, Parser.SyntaxHandler handler)Parses a Type 4 function and sends the syntactic elements to the given syntax handler.- Parameters:
input- the text sourcehandler- the syntax handler
-
-