Uses of Interface
picocli.CommandLine.ITypeConverter
-
Packages that use CommandLine.ITypeConverter Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletionfunctionality.picocli.codegen.annotation.processing -
-
Uses of CommandLine.ITypeConverter in picocli
Classes in picocli that implement CommandLine.ITypeConverter Modifier and Type Class Description (package private) static classCommandLine.BuiltIn.BigDecimalConverter(package private) static classCommandLine.BuiltIn.BigIntegerConverter(package private) static classCommandLine.BuiltIn.BooleanConverterConverts"true"or"false"to aBoolean.(package private) static classCommandLine.BuiltIn.ByteConverterConverts text to aByteby delegating toByte.valueOf(String).(package private) static classCommandLine.BuiltIn.ByteOrderConverter(package private) static classCommandLine.BuiltIn.CharacterConverter(package private) static classCommandLine.BuiltIn.CharArrayConverter(package private) static classCommandLine.BuiltIn.CharSequenceConverter(package private) static classCommandLine.BuiltIn.CharsetConverter(package private) static classCommandLine.BuiltIn.ClassConverter(package private) static classCommandLine.BuiltIn.CurrencyConverter(package private) static classCommandLine.BuiltIn.DoubleConverter(package private) static classCommandLine.BuiltIn.FileConverter(package private) static classCommandLine.BuiltIn.FloatConverter(package private) static classCommandLine.BuiltIn.InetAddressConverterConverts text to aInetAddressby delegating toInetAddress.getByName(String).(package private) static classCommandLine.BuiltIn.IntegerConverterConverts text to anIntegerby delegating toInteger.valueOf(String).(package private) static classCommandLine.BuiltIn.ISO8601DateConverterConverts text inyyyy-mm-ddformat to ajava.util.Date.(package private) static classCommandLine.BuiltIn.ISO8601TimeConverterConverts text in any of the following formats to ajava.sql.Time:HH:mm,HH:mm:ss,HH:mm:ss.SSS,HH:mm:ss,SSS.(package private) static classCommandLine.BuiltIn.LongConverterConverts text to aLongby delegating toLong.valueOf(String).(package private) static classCommandLine.BuiltIn.NetworkInterfaceConverter(package private) static classCommandLine.BuiltIn.PatternConverter(package private) static classCommandLine.BuiltIn.ReflectionConverter(package private) static classCommandLine.BuiltIn.ShortConverterConverts text to aShortby delegating toShort.valueOf(String).(package private) static classCommandLine.BuiltIn.StringBuilderConverter(package private) static classCommandLine.BuiltIn.StringConverter(package private) static classCommandLine.BuiltIn.TimeZoneConverter(package private) static classCommandLine.BuiltIn.URIConverter(package private) static classCommandLine.BuiltIn.URLConverter(package private) static classCommandLine.BuiltIn.UUIDConverterFields in picocli declared as CommandLine.ITypeConverter Modifier and Type Field Description private CommandLine.ITypeConverter<?>[]CommandLine.Model.ArgSpec.Builder. convertersprivate CommandLine.ITypeConverter<?>[]CommandLine.Model.ArgSpec. convertersFields in picocli with type parameters of type CommandLine.ITypeConverter Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,CommandLine.ITypeConverter<?>>CommandLine.Interpreter. converterRegistryMethods in picocli that return CommandLine.ITypeConverter Modifier and Type Method Description CommandLine.ITypeConverter<?>[]CommandLine.Model.ArgSpec.Builder. converters()Returns one or moretype convertersto use to convert the command line argument into a strongly typed value (or key-value pair for map fields).CommandLine.ITypeConverter<?>[]CommandLine.Model.ArgSpec. converters()Returns one or moretype convertersto use to convert the command line argument into a strongly typed value (or key-value pair for map fields).private static CommandLine.ITypeConverter<?>[]CommandLine.DefaultFactory. createConverter(CommandLine.IFactory factory, java.lang.Class<? extends CommandLine.ITypeConverter<?>>[] classes)private CommandLine.ITypeConverter<?>CommandLine.Interpreter. getActualTypeConverter(java.lang.Class<?> type, CommandLine.Model.ArgSpec argSpec)private CommandLine.ITypeConverter<java.lang.Object>CommandLine.Interpreter. getEnumTypeConverter(java.lang.Class<?> type)private CommandLine.ITypeConverter<?>CommandLine.Interpreter. getTypeConverter(java.lang.Class<?>[] types, CommandLine.Model.ArgSpec argSpec, int index)Methods in picocli that return types with arguments of type CommandLine.ITypeConverter Modifier and Type Method Description java.lang.Class<? extends CommandLine.ITypeConverter<?>>[]converter()Optionally specify one or moreCommandLine.ITypeConverterclasses to use to convert the command line argument into a strongly typed value (or key-value pair for map fields).java.lang.Class<? extends CommandLine.ITypeConverter<?>>[]converter()Optionally specify one or moreCommandLine.ITypeConverterclasses to use to convert the command line argument into a strongly typed value (or key-value pair for map fields).Methods in picocli with parameters of type CommandLine.ITypeConverter Modifier and Type Method Description private booleanCommandLine.Interpreter. canConsumeOneMapArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg, java.lang.Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, java.lang.String argDescription)private voidCommandLine.Interpreter. consumeOneMapArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg, java.lang.Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, java.util.Map<java.lang.Object,java.lang.Object> result, int index, java.lang.String argDescription)TCommandLine.Model.ArgSpec.Builder. converters(CommandLine.ITypeConverter<?>... cs)Sets option/positional param-specific converter (or converters for Maps), and returns this builder.<K> CommandLineCommandLine. registerConverter(java.lang.Class<K> cls, CommandLine.ITypeConverter<K> converter)Registers the specified type converter for the specified class.private java.lang.ObjectCommandLine.Interpreter. tryConvert(CommandLine.Model.ArgSpec argSpec, int index, CommandLine.ITypeConverter<?> converter, java.lang.String value, int typeIndex) -
Uses of CommandLine.ITypeConverter in picocli.codegen.annotation.processing
Classes in picocli.codegen.annotation.processing that implement CommandLine.ITypeConverter Modifier and Type Class Description (package private) classTypeConverterMetaDataImplementation of theCommandLine.ITypeConverterinterface that provides metadata on the@Command(typeConverter = xxx.class)annotation.
-