Class CommandLine.BuiltIn.ByteConverter
java.lang.Object
org.apache.logging.log4j.core.tools.picocli.CommandLine.BuiltIn.ByteConverter
- All Implemented Interfaces:
CommandLine.ITypeConverter<Byte>
- Enclosing class:
- CommandLine.BuiltIn
static class CommandLine.BuiltIn.ByteConverter
extends Object
implements CommandLine.ITypeConverter<Byte>
Converts text to a
Byte
by delegating to Byte.valueOf(String)
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ByteConverter
ByteConverter()
-
-
Method Details
-
convert
Description copied from interface:CommandLine.ITypeConverter
Converts the specified command line argument value to some domain object.- Specified by:
convert
in interfaceCommandLine.ITypeConverter<Byte>
- Parameters:
value
- the command line argument String value- Returns:
- the resulting domain object
-