http://www.jpicedt.org

jpicedt.graphic.io.parser
Interface Parser

All Known Implementing Classes:
DefaultParser, JPICParser

public interface Parser

This is the interface from which every parser passed as a parameter to "PECanvas.read()" (or similar methods from related classes) must inherit.


Method Summary
 Drawing parse(Reader reader)
          kicks off the parsing process
 

Method Detail

parse

public Drawing parse(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,...

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org