Uses of Interface
com.github.rvesse.airline.types.TypeConverterProvider
-
-
Uses of TypeConverterProvider in com.github.rvesse.airline.annotations
Methods in com.github.rvesse.airline.annotations that return types with arguments of type TypeConverterProvider Modifier and Type Method Description java.lang.Class<? extends TypeConverterProvider>
typeConverterProvider()
Sets an alternative type converter provider for the arguments.java.lang.Class<? extends TypeConverterProvider>
typeConverterProvider()
Sets an alternative type converter provider for the option. -
Uses of TypeConverterProvider in com.github.rvesse.airline.examples.userguide.practise
Classes in com.github.rvesse.airline.examples.userguide.practise that implement TypeConverterProvider Modifier and Type Class Description class
ExtendedTypeConverter
An example of an extended type converter that adds support for converting from types that provide anparse(String)
method -
Uses of TypeConverterProvider in com.github.rvesse.airline.model
Fields in com.github.rvesse.airline.model declared as TypeConverterProvider Modifier and Type Field Description private TypeConverterProvider
ArgumentsMetadata. provider
private TypeConverterProvider
OptionMetadata. provider
Methods in com.github.rvesse.airline.model that return TypeConverterProvider Modifier and Type Method Description TypeConverterProvider
ArgumentsMetadata. getTypeConverterProvider()
TypeConverterProvider
OptionMetadata. getTypeConverterProvider()
Constructors in com.github.rvesse.airline.model with parameters of type TypeConverterProvider Constructor Description ArgumentsMetadata(java.lang.Iterable<java.lang.String> titles, java.lang.String description, java.lang.Iterable<ArgumentsRestriction> restrictions, TypeConverterProvider typeConverterProvider, java.lang.Iterable<java.lang.reflect.Field> path)
OptionMetadata(OptionType optionType, java.lang.Iterable<java.lang.String> options, java.lang.Iterable<java.lang.String> titles, java.lang.String description, int arity, boolean hidden, boolean overrides, boolean sealed, java.lang.Iterable<OptionRestriction> restrictions, TypeConverterProvider typeConverterProvider, java.lang.Iterable<java.lang.reflect.Field> path)
-
Uses of TypeConverterProvider in com.github.rvesse.airline.types
Classes in com.github.rvesse.airline.types that implement TypeConverterProvider Modifier and Type Class Description class
DefaultTypeConverter
The default type converterclass
DefaultTypeConverterProvider
Default type converter provider which simply inspects theParseState
given and returns the the type converter specified on theParserMetadata
provided by the parse state -
Uses of TypeConverterProvider in com.github.rvesse.airline.types.numerics
Classes in com.github.rvesse.airline.types.numerics that implement TypeConverterProvider Modifier and Type Class Description class
ComplexNumericTypeConverter
Abstract numeric type converter that supports numerics given in the form1234suffix
wheresuffix
denotes some multiplier.class
DefaultNumericConverter
-
Uses of TypeConverterProvider in com.github.rvesse.airline.types.numerics.abbreviated
Classes in com.github.rvesse.airline.types.numerics.abbreviated that implement TypeConverterProvider Modifier and Type Class Description class
AbbreviatedNumericTypeConverter
class
KiloAs1000
A numeric type converter that supports standard using suffixes -k m b t
- to abbreviate numbers expressed in terms of thousands, millions, billions or trillionsclass
KiloAs1024
A numeric type converter that supports suffixes used to denote base 2 kilo unitsclass
MapAbbreviatedNumericTypeConverter
class
MultiSequenceAbbreviatedNumericTypeConverter
class
SequenceAbbreviatedNumericTypeConverter
-
Uses of TypeConverterProvider in com.github.rvesse.airline.types.numerics.bases
Classes in com.github.rvesse.airline.types.numerics.bases that implement TypeConverterProvider Modifier and Type Class Description class
Binary
A type converter that supports binary numbersclass
Hexadecimal
A type converter that supports hexadecimal numbersclass
Octal
A type converter that supports octal numbers
-