Uses of Interface
joptsimple.ValueConverter
-
Packages that use ValueConverter Package Description joptsimple joptsimple.internal joptsimple.util -
-
Uses of ValueConverter in joptsimple
Fields in joptsimple declared as ValueConverter Modifier and Type Field Description private ValueConverter<V>
ArgumentAcceptingOptionSpec. converter
private ValueConverter<V>
NonOptionArgumentSpec. converter
Methods in joptsimple with parameters of type ValueConverter Modifier and Type Method Description protected java.lang.String
AbstractOptionSpec. argumentTypeIndicatorFrom(ValueConverter<V> converter)
protected V
AbstractOptionSpec. convertWith(ValueConverter<V> converter, java.lang.String argument)
<T> ArgumentAcceptingOptionSpec<T>
ArgumentAcceptingOptionSpec. withValuesConvertedBy(ValueConverter<T> aConverter)
Specifies a converter to use to translate arguments of this spec's option into Java objects.<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 ValueConverter Modifier and Type Class Description (package private) class
ConstructorInvokingValueConverter<V>
(package private) class
MethodInvokingValueConverter<V>
Methods in joptsimple.internal that return ValueConverter Modifier and Type Method Description private static <V> ValueConverter<V>
Reflection. constructorConverter(java.lang.Class<V> clazz)
static <V> ValueConverter<V>
Reflection. findConverter(java.lang.Class<V> clazz)
Finds an appropriate value converter for the given class.private static <V> ValueConverter<V>
Reflection. valueOfConverter(java.lang.Class<V> clazz)
Methods in joptsimple.internal with parameters of type ValueConverter Modifier and Type Method Description static <V> V
Reflection. convertWith(ValueConverter<V> converter, java.lang.String raw)
-
Uses of ValueConverter in joptsimple.util
Classes in joptsimple.util that implement ValueConverter Modifier and Type Class Description class
DateConverter
Converts values toDate
s using aDateFormat
object.class
EnumConverter<E extends java.lang.Enum<E>>
Converts values toEnum
s.class
InetAddressConverter
Converts values toInetAddress
usinggetByName
.class
PathConverter
Converts command line options toPath
objects and checks the status of the underlying file.class
RegexMatcher
Ensures that values entirely match a regular expression.Methods in joptsimple.util that return ValueConverter Modifier and Type Method Description static ValueConverter<java.lang.String>
RegexMatcher. regex(java.lang.String pattern)
Gives a matcher that uses the given regular expression.
-