Class CommandLine.BuiltIn.LongConverter
java.lang.Object
org.apache.logging.log4j.core.tools.picocli.CommandLine.BuiltIn.LongConverter
- All Implemented Interfaces:
CommandLine.ITypeConverter<Long>
- Enclosing class:
- CommandLine.BuiltIn
static class CommandLine.BuiltIn.LongConverter
extends Object
implements CommandLine.ITypeConverter<Long>
Converts text to a
Long
by delegating to Long.valueOf(String)
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LongConverter
LongConverter()
-
-
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<Long>
- Parameters:
value
- the command line argument String value- Returns:
- the resulting domain object
-