Package jpicedt.graphic.io.parser
Interface Parser
-
- All Known Implementing Classes:
DefaultParser,JPICParser
public interface ParserThis is the interface from which every parser passed as a parameter to "PECanvas.read()" (or similar methods from related classes) must inherit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Drawingparse(java.io.Reader reader)kicks off the parsing process
-
-
-
Method Detail
-
parse
Drawing parse(java.io.Reader reader) throws ParserException
kicks off the parsing process- Returns:
- a new instance of a Drawing populated from the content of the given reader
- Throws:
ParserException- when a parsing error was encountered, e.g. syntax error, block mismatch,...
-
-