Uses of Interface
com.github.rvesse.airline.types.TypeConverter
-
-
Uses of TypeConverter in com.github.rvesse.airline.annotations
Methods in com.github.rvesse.airline.annotations that return types with arguments of type TypeConverter Modifier and Type Method Description java.lang.Class<? extends TypeConverter>typeConverter()Sets the type converter class to use -
Uses of TypeConverter in com.github.rvesse.airline.builder
Fields in com.github.rvesse.airline.builder declared as TypeConverter Modifier and Type Field Description protected TypeConverterParserBuilder. typeConverterMethods in com.github.rvesse.airline.builder with parameters of type TypeConverter Modifier and Type Method Description ParserBuilder<C>ParserBuilder. withTypeConverter(TypeConverter converter)Sets the type converter for the parser -
Uses of TypeConverter in com.github.rvesse.airline.examples.userguide.practise
Classes in com.github.rvesse.airline.examples.userguide.practise that implement TypeConverter Modifier and Type Class Description classExtendedTypeConverterAn example of an extended type converter that adds support for converting from types that provide anparse(String)method -
Uses of TypeConverter in com.github.rvesse.airline.model
Fields in com.github.rvesse.airline.model declared as TypeConverter Modifier and Type Field Description private TypeConverterParserMetadata. typeConverterMethods in com.github.rvesse.airline.model that return TypeConverter Modifier and Type Method Description TypeConverterParserMetadata. getTypeConverter()Gets the type converter to useConstructors in com.github.rvesse.airline.model with parameters of type TypeConverter Constructor Description ParserMetadata(CommandFactory<T> commandFactory, java.util.Collection<java.lang.String> compositionAnnotationClasses, java.util.Collection<OptionParser<T>> optionParsers, TypeConverter typeConverter, ParserErrorHandler errorHandler, boolean allowAbbreviateCommands, boolean allowAbbreviatedOptions, java.util.Collection<AliasMetadata> aliases, UserAliasesSource<T> userAliases, boolean aliasesOverrideBuiltIns, boolean aliasesMayChain, char forceBuiltInPrefix, java.lang.String argumentsSeparator, java.lang.String flagNegationPrefix) -
Uses of TypeConverter in com.github.rvesse.airline.parser
Fields in com.github.rvesse.airline.parser declared as TypeConverter Modifier and Type Field Description private static TypeConverterAbstractParser. DEFAULT_TYPE_CONVERTERDefault type converterMethods in com.github.rvesse.airline.parser that return TypeConverter Modifier and Type Method Description protected TypeConverterAbstractParser. getTypeConverter(ParseState<T> state)Gets the type converter to use for converting arguments into option/argument values -
Uses of TypeConverter in com.github.rvesse.airline.prompts
Fields in com.github.rvesse.airline.prompts declared as TypeConverter Modifier and Type Field Description private TypeConverterPrompt. converterMethods in com.github.rvesse.airline.prompts that return TypeConverter Modifier and Type Method Description TypeConverterPrompt. getTypeConverter()Gets the configured type converterConstructors in com.github.rvesse.airline.prompts with parameters of type TypeConverter Constructor Description Prompt(PromptProvider provider, PromptFormatter formatter, long timeout, java.util.concurrent.TimeUnit timeoutUnit, java.lang.String promptMessage, java.util.Collection<TOption> options, PromptOptionMatcher<TOption> optionMatcher, boolean allowNumericOptionSelection, TypeConverter converter)Creates a new prompt -
Uses of TypeConverter in com.github.rvesse.airline.prompts.builders
Fields in com.github.rvesse.airline.prompts.builders declared as TypeConverter Modifier and Type Field Description private TypeConverterPromptBuilder. converterMethods in com.github.rvesse.airline.prompts.builders with parameters of type TypeConverter Modifier and Type Method Description PromptBuilder<TOption>PromptBuilder. withTypeConverter(TypeConverter converter)Specifies the type converter to use -
Uses of TypeConverter in com.github.rvesse.airline.restrictions.common
Methods in com.github.rvesse.airline.restrictions.common with parameters of type TypeConverter Modifier and Type Method Description protected <T> java.util.Set<java.lang.Object>AllowedValuesRestriction. createAllowedValues(ParseState<T> state, java.lang.String title, java.lang.Class<?> type, TypeConverter converter) -
Uses of TypeConverter in com.github.rvesse.airline.types
Classes in com.github.rvesse.airline.types that implement TypeConverter Modifier and Type Class Description classDefaultTypeConverterThe default type converterMethods in com.github.rvesse.airline.types that return TypeConverter Modifier and Type Method Description <T> TypeConverterDefaultTypeConverterProvider. getTypeConverter(ArgumentsMetadata arguments, ParseState<T> state)<T> TypeConverterDefaultTypeConverterProvider. getTypeConverter(OptionMetadata option, ParseState<T> state)<T> TypeConverterTypeConverterProvider. getTypeConverter(ArgumentsMetadata arguments, ParseState<T> state)Gets the type converter to use for the given arguments and parser state<T> TypeConverterTypeConverterProvider. getTypeConverter(OptionMetadata option, ParseState<T> state)Gets the type converter to use for the given option and parser state -
Uses of TypeConverter in com.github.rvesse.airline.types.numerics
Methods in com.github.rvesse.airline.types.numerics that return TypeConverter Modifier and Type Method Description <T> TypeConverterDefaultNumericConverter. getTypeConverter(ArgumentsMetadata arguments, ParseState<T> state)<T> TypeConverterDefaultNumericConverter. getTypeConverter(OptionMetadata option, ParseState<T> state)
-