Class CommandLineParser


  • public class CommandLineParser
    extends java.lang.Object
    The Command Line Parser.
    • Constructor Detail

      • CommandLineParser

        public CommandLineParser​(java.lang.String commandLine)
    • Method Detail

      • shift

        public void shift()
      • getCommandLine

        public java.lang.String getCommandLine()
      • getCommandName

        public java.lang.String getCommandName()
      • setCommandName

        public void setCommandName​(java.lang.String commandName)
      • getArgs

        public java.lang.String[] getArgs()
      • hasArgs

        public boolean hasArgs()
      • getRedirectionList

        public java.util.List<OutputRedirection> getRedirectionList()
        Returns a list of the output redirection extracted from the command line.
        Returns:
        a list of the output redirection