Uses of Interface
org.apache.commons.cli.Converter
-
Packages that use Converter Package Description org.apache.commons.cli Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface. -
-
Uses of Converter in org.apache.commons.cli
Fields in org.apache.commons.cli declared as Converter Modifier and Type Field Description static Converter<java.lang.Class<?>,java.lang.ClassNotFoundException>Converter. CLASSClass name converter.private Converter<?,?>Option.Builder. converterThe converter to convert to type.private Converter<?,?>Option. converterThe explicit converter for this option.static Converter<java.util.Date,java.text.ParseException>Converter. DATEConverts to a date using the format string Form "EEE MMM dd HH:mm:ss zzz yyyy".static Converter<?,java.lang.RuntimeException>Converter. DEFAULTThe default converter.static Converter<java.io.File,java.lang.NullPointerException>Converter. FILEFile name converter.static Converter<java.lang.Number,java.lang.NumberFormatException>Converter. NUMBERNumber converter.static Converter<java.lang.Object,java.lang.ReflectiveOperationException>Converter. OBJECTConverts a class name to an instance of the class.static Converter<java.nio.file.Path,java.nio.file.InvalidPathException>Converter. PATHPath converter.private static Converter<?,java.lang.UnsupportedOperationException>PatternOptionBuilder. UNSUPPORTEDThe converter to use for Unimplemented data typesstatic Converter<java.net.URL,java.net.MalformedURLException>Converter. URLCreates a URL.Fields in org.apache.commons.cli with type parameters of type Converter Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>>TypeHandler. converterMapMap of Class to Converter.Methods in org.apache.commons.cli that return Converter Modifier and Type Method Description Converter<?,?>Option. getConverter()Gets the value to type converter.<T> Converter<T,?>TypeHandler. getConverter(java.lang.Class<T> clazz)Gets the registered converter for the the Class, orDEFAULTif absent.Methods in org.apache.commons.cli that return types with arguments of type Converter Modifier and Type Method Description static java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>>TypeHandler. createDefaultMap()Creates a default converter map.private static java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>>TypeHandler. putDefaultMap(java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>> map)Methods in org.apache.commons.cli with parameters of type Converter Modifier and Type Method Description Option.BuilderOption.Builder. converter(Converter<?,?> converter)Sets the converter for the option.voidOption. setConverter(Converter<?,?> converter)Sets the value to type converter.Method parameters in org.apache.commons.cli with type arguments of type Converter Modifier and Type Method Description private static java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>>TypeHandler. putDefaultMap(java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>> map)Constructor parameters in org.apache.commons.cli with type arguments of type Converter Constructor Description TypeHandler(java.util.Map<java.lang.Class<?>,Converter<?,? extends java.lang.Throwable>> converterMap)Constructs a default initialized instance.
-