Class JCommander.DefaultVariableArity

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int processVariableArity​(java.lang.String optionName, java.lang.String[] options)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultVariableArity

        private DefaultVariableArity()
    • Method Detail

      • processVariableArity

        public int processVariableArity​(java.lang.String optionName,
                                        java.lang.String[] options)
        Specified by:
        processVariableArity in interface IVariableArity
        Parameters:
        optionName - the name of the option to process.
        options - the entire list of options.
        Returns:
        how many options were processed.