public class ShellParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ShellArgument |
parseArgument(java.lang.String argument)
Utility method for parsing a single command line argument.
|
static ShellCommand |
parseLine(java.lang.String input)
Parse a line of input into a ShellCommand.
|
public static ShellCommand parseLine(java.lang.String input) throws ShellParseException
input
- line of input conforming to the Q shell.ShellParseException
- if the input was not properly formatted.public static ShellArgument parseArgument(java.lang.String argument) throws ShellParseException
ShellParseException