Class WatchdogParser

java.lang.Object
cs350s22.component.ui.parser.WatchdogParser
All Implemented Interfaces:
SubParser

public class WatchdogParser extends Object implements SubParser
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String[]
     
    private final int
     
    private final cs350s22.component.ui.parser.A_ParserHelper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WatchdogParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method each sub parser is required to use to begin parsing their respective commands.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • args

      private final String[] args
    • parserHelper

      private final cs350s22.component.ui.parser.A_ParserHelper parserHelper
    • numOfCmdArgs

      private final int numOfCmdArgs
  • Constructor Details

    • WatchdogParser

      public WatchdogParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
  • Method Details

    • parse

      public void parse() throws IOException
      Description copied from interface: SubParser
      Method each sub parser is required to use to begin parsing their respective commands.
      Specified by:
      parse in interface SubParser
      Throws:
      IOException - Invalid input.