Uses of Interface
cdc.util.cli.AbstractMainSupport.ValueChecker
-
Uses of AbstractMainSupport.ValueChecker in cdc.util.cli
Fields in cdc.util.cli declared as AbstractMainSupport.ValueCheckerModifier and TypeFieldDescriptionstatic final AbstractMainSupport.ValueChecker<File>AbstractMainSupport.IS_DIRECTORYImplementation ofAbstractMainSupport.ValueCheckerchecking that the value is an existing directory.static final AbstractMainSupport.ValueChecker<File>AbstractMainSupport.IS_FILEImplementation ofAbstractMainSupport.ValueCheckerchecking that the value is an existing file.static final AbstractMainSupport.ValueChecker<File>AbstractMainSupport.IS_FILE_OR_DIRECTORYImplementation ofAbstractMainSupport.ValueCheckerchecking that the value is an existing file or directory.static final AbstractMainSupport.ValueChecker<File>AbstractMainSupport.IS_NULL_OR_DIRECTORYImplementation ofAbstractMainSupport.ValueCheckerchecking that the value is an existing directory, or isnull.static final AbstractMainSupport.ValueChecker<File>AbstractMainSupport.IS_NULL_OR_FILEImplementation ofAbstractMainSupport.ValueCheckerchecking that the value is an existing file, or isnull.static final AbstractMainSupport.ValueChecker<File>AbstractMainSupport.IS_NULL_OR_FILE_OR_DIRECTORYImplementation ofAbstractMainSupport.ValueCheckerchecking that the value is an existing file or directory, or isnull.static final AbstractMainSupport.ValueChecker<Object>AbstractMainSupport.IS_TRUEImplementation ofAbstractMainSupport.ValueCheckerthat always accepts and returns the input value.Methods in cdc.util.cli with parameters of type AbstractMainSupport.ValueCheckerModifier and TypeMethodDescriptionstatic <T> voidAbstractMainSupport.fillValues(org.apache.commons.cli.CommandLine cl, String opt, Collection<T> values, Function<String, T> converter, AbstractMainSupport.ValueChecker<? super T> checker) Adds option values to a collection, after converting and checking them.static <T> TAbstractMainSupport.getValue(org.apache.commons.cli.CommandLine cl, String opt, T def, Function<String, T> converter, AbstractMainSupport.ValueChecker<? super T> checker) Returns the checked conversion of an option value to a type, or a checked default value.static FileAbstractMainSupport.getValueAsFile(org.apache.commons.cli.CommandLine cl, String opt, AbstractMainSupport.ValueChecker<? super File> checker) Returns an option as a File.static FileAbstractMainSupport.getValueAsFile(org.apache.commons.cli.CommandLine cl, String opt, File def, AbstractMainSupport.ValueChecker<? super File> checker) Returns an option as a File.AbstractMainSupport.getValueAsResolvedFile(org.apache.commons.cli.CommandLine cl, String opt, AbstractMainSupport.ValueChecker<? super File> checker) Returns an option as a resolved file.AbstractMainSupport.getValueAsResolvedFile(org.apache.commons.cli.CommandLine cl, String opt, File def, AbstractMainSupport.ValueChecker<? super File> checker) Returns an option as a resolved file.static <T> List<T>AbstractMainSupport.getValues(org.apache.commons.cli.CommandLine cl, String opt, Function<String, T> converter, AbstractMainSupport.ValueChecker<? super T> checker) Returns the values of an option, converted and checked, as a List.