Class CommandLineUtil


  • public final class CommandLineUtil
    extends Object
    Author:
    Mathieu Bague
    • Method Detail

      • getOptionValue

        public static <T extends Enum<T>> T getOptionValue​(org.apache.commons.cli.CommandLine line,
                                                           String option,
                                                           Class<T> clazz,
                                                           T defaultValue)