Class CommandLine.BuiltIn.ISO8601TimeConverter
- java.lang.Object
-
- org.apache.logging.log4j.core.tools.picocli.CommandLine.BuiltIn.ISO8601TimeConverter
-
- All Implemented Interfaces:
CommandLine.ITypeConverter<java.sql.Time>
- Enclosing class:
- CommandLine.BuiltIn
static class CommandLine.BuiltIn.ISO8601TimeConverter extends java.lang.Object implements CommandLine.ITypeConverter<java.sql.Time>
Converts text in any of the following formats to ajava.sql.Time:HH:mm,HH:mm:ss,HH:mm:ss.SSS,HH:mm:ss,SSS. Other formats result in a ParameterException.
-
-
Constructor Summary
Constructors Constructor Description ISO8601TimeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Timeconvert(java.lang.String value)Converts the specified command line argument value to some domain object.
-
-
-
Method Detail
-
convert
public java.sql.Time convert(java.lang.String value)
Description copied from interface:CommandLine.ITypeConverterConverts the specified command line argument value to some domain object.- Specified by:
convertin interfaceCommandLine.ITypeConverter<java.sql.Time>- Parameters:
value- the command line argument String value- Returns:
- the resulting domain object
-
-