Uses of Interface
joptsimple.ValueConverter
Packages that use ValueConverter
-
Uses of ValueConverter in joptsimple
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
Methods in joptsimple.internal that return ValueConverterModifier and TypeMethodDescriptionstatic <V> ValueConverter<V>
Reflection.findConverter
(Class<V> clazz) Finds an appropriate value converter for the given class.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.