Package | Description |
---|---|
org.apache.logging.log4j.core.tools.picocli |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CommandLine.BuiltIn.BigDecimalConverter |
(package private) static class |
CommandLine.BuiltIn.BigIntegerConverter |
(package private) static class |
CommandLine.BuiltIn.BooleanConverter
Converts
"true" or "false" to a Boolean . |
(package private) static class |
CommandLine.BuiltIn.ByteConverter
Converts text to a
Byte by delegating to Byte.valueOf(String) . |
(package private) static class |
CommandLine.BuiltIn.CharacterConverter |
(package private) static class |
CommandLine.BuiltIn.CharSequenceConverter |
(package private) static class |
CommandLine.BuiltIn.CharsetConverter |
(package private) static class |
CommandLine.BuiltIn.DoubleConverter |
(package private) static class |
CommandLine.BuiltIn.FileConverter |
(package private) static class |
CommandLine.BuiltIn.FloatConverter |
(package private) static class |
CommandLine.BuiltIn.InetAddressConverter
Converts text to a
InetAddress by delegating to InetAddress.getByName(String) . |
(package private) static class |
CommandLine.BuiltIn.IntegerConverter
Converts text to an
Integer by delegating to Integer.valueOf(String) . |
(package private) static class |
CommandLine.BuiltIn.ISO8601DateConverter
Converts text in
yyyy-mm-dd format to a java.util.Date . |
(package private) static class |
CommandLine.BuiltIn.ISO8601TimeConverter
Converts text in any of the following formats to a
java.sql.Time : HH:mm , HH:mm:ss ,
HH:mm:ss.SSS , HH:mm:ss,SSS . |
(package private) static class |
CommandLine.BuiltIn.LongConverter
Converts text to a
Long by delegating to Long.valueOf(String) . |
(package private) static class |
CommandLine.BuiltIn.PathConverter |
(package private) static class |
CommandLine.BuiltIn.PatternConverter |
(package private) static class |
CommandLine.BuiltIn.ShortConverter
Converts text to a
Short by delegating to Short.valueOf(String) . |
(package private) static class |
CommandLine.BuiltIn.StringBuilderConverter |
(package private) static class |
CommandLine.BuiltIn.StringConverter |
(package private) static class |
CommandLine.BuiltIn.URIConverter |
(package private) static class |
CommandLine.BuiltIn.URLConverter |
(package private) static class |
CommandLine.BuiltIn.UUIDConverter |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<?>,CommandLine.ITypeConverter<?>> |
CommandLine.Interpreter.converterRegistry |
Modifier and Type | Method and Description |
---|---|
private CommandLine.ITypeConverter<?> |
CommandLine.Interpreter.getTypeConverter(java.lang.Class<?> type,
java.lang.reflect.Field field) |
Modifier and Type | Method and Description |
---|---|
private void |
CommandLine.Interpreter.consumeMapArguments(java.lang.reflect.Field field,
CommandLine.Range arity,
java.util.Stack<java.lang.String> args,
java.lang.Class<?>[] classes,
CommandLine.ITypeConverter<?> keyConverter,
CommandLine.ITypeConverter<?> valueConverter,
java.util.Map<java.lang.Object,java.lang.Object> result,
java.lang.String argDescription) |
private void |
CommandLine.Interpreter.consumeMapArguments(java.lang.reflect.Field field,
CommandLine.Range arity,
java.util.Stack<java.lang.String> args,
java.lang.Class<?>[] classes,
CommandLine.ITypeConverter<?> keyConverter,
CommandLine.ITypeConverter<?> valueConverter,
java.util.Map<java.lang.Object,java.lang.Object> result,
java.lang.String argDescription) |
private void |
CommandLine.Interpreter.consumeOneMapArgument(java.lang.reflect.Field field,
CommandLine.Range arity,
java.util.Stack<java.lang.String> args,
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) |
private void |
CommandLine.Interpreter.consumeOneMapArgument(java.lang.reflect.Field field,
CommandLine.Range arity,
java.util.Stack<java.lang.String> args,
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) |
<K> CommandLine |
CommandLine.registerConverter(java.lang.Class<K> cls,
CommandLine.ITypeConverter<K> converter)
Registers the specified type converter for the specified class.
|
private java.lang.Object |
CommandLine.Interpreter.tryConvert(java.lang.reflect.Field field,
int index,
CommandLine.ITypeConverter<?> converter,
java.lang.String value,
java.lang.Class<?> type) |