Package preponderous.ponder.misc
Class ArgumentParser
java.lang.Object
preponderous.ponder.misc.ArgumentParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
dropFirstArgument(String[] args)
getArgumentsInsideDoubleQuotes(String[] args)
static void
-
Constructor Details
-
ArgumentParser
public ArgumentParser()
-
-
Method Details
-
dropFirstArgument
- Parameters:
args
- to modify.- Returns:
- Modified Array of Strings.
- Throws:
IllegalArgumentException
- if the arguments given are invalid.
-
getArgumentsInsideDoubleQuotes
- Parameters:
args
- to compile and scan.- Returns:
ArrayList
ofString
which were surrounded by " or Double-Quotes.- Throws:
IllegalArgumentException
- if the arguments given are invalid.
-
main
-