Class CommandOption.SpacedStrings

    • Field Detail

      • value

        public java.lang.String[] value
      • defaultValue

        public java.lang.String[] defaultValue
    • Constructor Detail

      • SpacedStrings

        public SpacedStrings​(java.lang.Class owner,
                             java.lang.String name,
                             java.lang.String argName,
                             boolean argRequired,
                             java.lang.String[] defaultValue,
                             java.lang.String shortdoc,
                             java.lang.String longdoc)
    • Method Detail

      • value

        public java.lang.String[] value()
      • parseArg

        public int parseArg​(java.lang.String[] args,
                            int index)
        Description copied from class: CommandOption
        Called after this CommandOption matches an argument. The default implementation simply calls parseArg(String), and returns index+1; unless index is negative, in which case it calls parseArg((String)null) and returns index.
        parseArg in class CommandOption