Uses of Interface
joptsimple.ValueConverter
Packages that use ValueConverter
-
Uses of ValueConverter in joptsimple
Fields in joptsimple declared as ValueConverterModifier and TypeFieldDescriptionprivate ValueConverter<V>
ArgumentAcceptingOptionSpec.converter
private ValueConverter<V>
NonOptionArgumentSpec.converter
Methods in joptsimple with parameters of type ValueConverterModifier and TypeMethodDescriptionprotected String
AbstractOptionSpec.argumentTypeIndicatorFrom
(ValueConverter<V> converter) protected V
AbstractOptionSpec.convertWith
(ValueConverter<V> converter, String argument) final <T> ArgumentAcceptingOptionSpec<T>
ArgumentAcceptingOptionSpec.withValuesConvertedBy
(ValueConverter<T> aConverter) Specifies a converter to use to translate arguments of this spec's option into Java objects.final <T> NonOptionArgumentSpec<T>
NonOptionArgumentSpec.withValuesConvertedBy
(ValueConverter<T> aConverter) Specifies a converter to use to translate non-option arguments into Java objects. -
Uses of ValueConverter in joptsimple.internal
Classes in joptsimple.internal that implement ValueConverterModifier and TypeClassDescription(package private) class
(package private) class
Methods in joptsimple.internal that return ValueConverterModifier and TypeMethodDescriptionprivate static <V> ValueConverter<V>
Reflection.constructorConverter
(Class<V> clazz) static <V> ValueConverter<V>
Reflection.findConverter
(Class<V> clazz) Finds an appropriate value converter for the given class.private static <V> ValueConverter<V>
Reflection.valueOfConverter
(Class<V> clazz) Methods in joptsimple.internal with parameters of type ValueConverterModifier and TypeMethodDescriptionstatic <V> V
Reflection.convertWith
(ValueConverter<V> converter, String raw) -
Uses of ValueConverter in joptsimple.util
Classes in joptsimple.util that implement ValueConverterModifier and TypeClassDescriptionclass
Converts values toDate
s using aDateFormat
object.class
EnumConverter<E extends Enum<E>>
Converts values toEnum
s.class
Converts values toInetAddress
usinggetByName
.class
Converts command line options toPath
objects and checks the status of the underlying file.class
Ensures that values entirely match a regular expression.Methods in joptsimple.util that return ValueConverterModifier and TypeMethodDescriptionstatic ValueConverter<String>
Gives a matcher that uses the given regular expression.