Uses of Interface
org.apache.commons.cli.Converter
Packages that use Converter
Package
Description
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 ConverterModifier and TypeFieldDescriptionstatic final Converter<Class<?>, ClassNotFoundException> Converter.CLASSClass name converter.static final Converter<Date, ParseException> Converter.DATEConverts to a date using the format string Form "EEE MMM dd HH:mm:ss zzz yyyy".static final Converter<?, RuntimeException> Converter.DEFAULTThe default converter.static final Converter<File, NullPointerException> Converter.FILEFile name converter.static final Converter<Number, NumberFormatException> Converter.NUMBERNumber converter.static final Converter<Object, ReflectiveOperationException> Converter.OBJECTConverts a class name to an instance of the class.static final Converter<Path, InvalidPathException> Converter.PATHPath converter.static final Converter<URL, MalformedURLException> Converter.URLCreates a URL.Methods 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, orDEFAULTif absent.Methods in org.apache.commons.cli that return types with arguments of type ConverterModifier and TypeMethodDescriptionTypeHandler.createDefaultMap()Creates a default converter map.Methods in org.apache.commons.cli with parameters of type ConverterModifier and TypeMethodDescriptionSets the converter for the option.voidOption.setConverter(Converter<?, ?> converter) Sets the value to type converter.Constructor parameters in org.apache.commons.cli with type arguments of type ConverterModifierConstructorDescriptionTypeHandler(Map<Class<?>, Converter<?, ? extends Throwable>> converterMap) Constructs a default initialized instance.