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 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,...