Uses of Interface
picocli.CommandLine.ITypeConverter
-
Uses of CommandLine.ITypeConverter in picocli
Classes in picocli that implement CommandLine.ITypeConverterModifier and TypeClassDescription(package private) static class(package private) static class(package private) static classConverts"true"or"false"to aBoolean.(package private) static classConverts text to aByteby delegating toByte.valueOf(String).(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static classConverts text to aInetAddressby delegating toInetAddress.getByName(String).(package private) static classConverts text to anIntegerby delegating toInteger.valueOf(String).(package private) static classConverts text inyyyy-mm-ddformat to ajava.util.Date.(package private) static classConverts 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 classConverts text to aLongby delegating toLong.valueOf(String).(package private) static class(package private) static class(package private) static class(package private) static classConverts text to aShortby delegating toShort.valueOf(String).(package private) static class(package private) static class(package private) static class(package private) static class(package private) static class(package private) static classstatic final classConverter that can be used to signal to picocli that it should use the default converter.Fields in picocli declared as CommandLine.ITypeConverterModifier and TypeFieldDescriptionprivate CommandLine.ITypeConverter<?>[]CommandLine.Model.ArgSpec.Builder.convertersprivate final CommandLine.ITypeConverter<?>[]CommandLine.Model.ArgSpec.convertersFields in picocli with type parameters of type CommandLine.ITypeConverterModifier and TypeFieldDescriptionprivate final Map<Class<?>, CommandLine.ITypeConverter<?>> CommandLine.Interpreter.converterRegistryMethods in picocli that return CommandLine.ITypeConverterModifier and TypeMethodDescriptionCommandLine.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.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, Class<? extends CommandLine.ITypeConverter<?>>[] classes) private CommandLine.ITypeConverter<?> CommandLine.Interpreter.getActualTypeConverter(Class<?> type, CommandLine.Model.ArgSpec argSpec) private CommandLine.ITypeConverter<Object> CommandLine.Interpreter.getEnumTypeConverter(Class<?> type) private CommandLine.ITypeConverter<?> CommandLine.Interpreter.getTypeConverter(Class<?>[] types, CommandLine.Model.ArgSpec argSpec, int index) Methods in picocli with parameters of type CommandLine.ITypeConverterModifier and TypeMethodDescriptionprivate booleanCommandLine.Interpreter.canConsumeOneMapArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, String arg, Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, String argDescription) private voidCommandLine.Interpreter.consumeOneMapArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, String arg, Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, Map<Object, Object> result, int index, String argDescription) CommandLine.Model.ArgSpec.Builder.converters(CommandLine.ITypeConverter<?>... cs) Sets option/positional param-specific converter (or converters for Maps), and returns this builder.<K> CommandLineCommandLine.registerConverter(Class<K> cls, CommandLine.ITypeConverter<K> converter) Registers the specified type converter for the specified class.private ObjectCommandLine.Interpreter.tryConvert(CommandLine.Model.ArgSpec argSpec, int index, CommandLine.ITypeConverter<?> converter, String value, int typeIndex)