Package | Description |
---|---|
joptsimple | |
joptsimple.util |
Modifier and Type | Method and Description |
---|---|
Optional<ValueConverter<?>> |
NonOptionArgumentSpec.argumentConverter() |
Optional<ValueConverter<?>> |
ArgumentAcceptingOptionSpec.argumentConverter() |
Optional<ValueConverter<?>> |
OptionDescriptor.argumentConverter()
Gives an object that can convert raw string values into objects of the
type of this option's argument
|
Modifier and Type | Method and Description |
---|---|
<T> NonOptionArgumentSpec<T> |
NonOptionArgumentSpec.withValuesConvertedBy(ValueConverter<T> aConverter)
Specifies a converter to use to translate non-option arguments into Java objects.
|
<T> ArgumentAcceptingOptionSpec<T> |
ArgumentAcceptingOptionSpec.withValuesConvertedBy(ValueConverter<T> aConverter)
Specifies a converter to use to translate arguments of this spec's option into Java objects.
|
Modifier and Type | Class and Description |
---|---|
class |
DateConverter
Converts values to
Date s using a DateFormat object. |
class |
EnumConverter<E extends Enum<E>>
Converts values to
Enum s. |
class |
InetAddressConverter
Converts values to
InetAddress using getByName . |
class |
PathConverter
Converts command line options to
Path objects and checks the status of the underlying file. |
class |
RegexMatcher
Ensures that values entirely match a regular expression.
|
Modifier and Type | Method and Description |
---|---|
static ValueConverter<String> |
RegexMatcher.regex(String pattern)
Gives a matcher that uses the given regular expression.
|
© Copyright 2004-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License.