Uses of Interface
org.apache.commons.cli.Converter
-
-
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. CLASS
Class name converter.static Converter<java.util.Date,java.text.ParseException>
Converter. DATE
Converts to a date using the format string Form "EEE MMM dd HH:mm:ss zzz yyyy".static Converter<?,java.lang.RuntimeException>
Converter. DEFAULT
The default converter.static Converter<java.io.File,java.lang.NullPointerException>
Converter. FILE
File name converter.static Converter<java.lang.Number,java.lang.NumberFormatException>
Converter. NUMBER
Number converter.static Converter<java.lang.Object,java.lang.ReflectiveOperationException>
Converter. OBJECT
Converts a class name to an instance of the class.static Converter<java.nio.file.Path,java.nio.file.InvalidPathException>
Converter. PATH
Path converter.static Converter<java.net.URL,java.net.MalformedURLException>
Converter. URL
Creates a URL.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, orDEFAULT
if 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.Methods in org.apache.commons.cli with parameters of type Converter Modifier and Type Method Description Option.Builder
Option.Builder. converter(Converter<?,?> converter)
Sets the converter for the option.void
Option. setConverter(Converter<?,?> converter)
Sets the value to type converter.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.
-