Class Options


  • public class Options
    extends Object
    Used to parse the arguments into options
    • Method Detail

      • parse

        @NotNull
        public static Options parse​(@NotNull
                                    String[] args,
                                    OptionParserClassifier... classifiers)
        Used to parse the arguments into options
        Parameters:
        args - the arguments
        classifiers - the classifiers which define how to parse the arguments into option
        Returns:
        the options
      • get

        @Nullable
        public Option get​(String key)
        Get option named key
        Parameters:
        key - the key of option
        Returns:
        the option named key