Class ArgumentParser

java.lang.Object
preponderous.ponder.misc.ArgumentParser

public class ArgumentParser extends Object
  • Constructor Details

    • ArgumentParser

      public ArgumentParser()
  • Method Details

    • dropFirstArgument

      public String[] dropFirstArgument(String[] args)
      Parameters:
      args - to modify.
      Returns:
      Modified Array of Strings.
      Throws:
      IllegalArgumentException - if the arguments given are invalid.
    • getArgumentsInsideDoubleQuotes

      public ArrayList<String> getArgumentsInsideDoubleQuotes(String[] args)
      Parameters:
      args - to compile and scan.
      Returns:
      ArrayList of String which were surrounded by " or Double-Quotes.
      Throws:
      IllegalArgumentException - if the arguments given are invalid.
    • main

      public static void main(String[] args)