Uses of Interface
org.apache.commons.cli.Converter
-
Uses of Converter in org.apache.commons.cli
Fields in org.apache.commons.cli declared as ConverterModifier and TypeFieldDescriptionstatic final Converter
<Class<?>, ClassNotFoundException> Converter.CLASS
Class name converter.private Converter
<?, ?> Option.Builder.converter
The converter to convert to type.private Converter
<?, ?> Option.converter
The explicit converter for this option.static final Converter
<Date, ParseException> Converter.DATE
Converts to a date using the format string Form "EEE MMM dd HH:mm:ss zzz yyyy".static final Converter
<?, RuntimeException> Converter.DEFAULT
The default converter.static final Converter
<File, NullPointerException> Converter.FILE
File name converter.static final Converter
<Number, NumberFormatException> Converter.NUMBER
Number converter.static final Converter
<Object, ReflectiveOperationException> Converter.OBJECT
Converts a class name to an instance of the class.static final Converter
<Path, InvalidPathException> Converter.PATH
Path converter.private static final Converter
<?, UnsupportedOperationException> PatternOptionBuilder.UNSUPPORTED
The converter to use for Unimplemented data typesstatic final Converter
<URL, MalformedURLException> Converter.URL
Creates a URL.Fields in org.apache.commons.cli with type parameters of type ConverterMethods in org.apache.commons.cli that return ConverterModifier and TypeMethodDescriptionConverter
<?, ?> Option.getConverter()
Gets the value to type converter.<T> Converter
<T, ?> TypeHandler.getConverter
(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 ConverterModifier and TypeMethodDescriptionTypeHandler.createDefaultMap()
Creates a default converter map.TypeHandler.putDefaultMap
(Map<Class<?>, Converter<?, ? extends Throwable>> map) Methods in org.apache.commons.cli with parameters of type ConverterModifier and TypeMethodDescriptionSets the converter for the option.void
Option.setConverter
(Converter<?, ?> converter) Sets the value to type converter.Method parameters in org.apache.commons.cli with type arguments of type ConverterModifier and TypeMethodDescriptionTypeHandler.putDefaultMap
(Map<Class<?>, Converter<?, ? extends Throwable>> map) Constructor parameters in org.apache.commons.cli with type arguments of type ConverterModifierConstructorDescriptionTypeHandler
(Map<Class<?>, Converter<?, ? extends Throwable>> converterMap) Constructs a default initialized instance.