Class CommandLine.BuiltIn.FileConverter
- java.lang.Object
-
- org.apache.logging.log4j.core.tools.picocli.CommandLine.BuiltIn.FileConverter
-
- All Implemented Interfaces:
CommandLine.ITypeConverter<java.io.File>
- Enclosing class:
- CommandLine.BuiltIn
static class CommandLine.BuiltIn.FileConverter extends java.lang.Object implements CommandLine.ITypeConverter<java.io.File>
-
-
Constructor Summary
Constructors Constructor Description FileConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
convert(java.lang.String value)
Converts the specified command line argument value to some domain object.
-
-
-
Method Detail
-
convert
public java.io.File convert(java.lang.String value)
Description copied from interface:CommandLine.ITypeConverter
Converts the specified command line argument value to some domain object.- Specified by:
convert
in interfaceCommandLine.ITypeConverter<java.io.File>
- Parameters:
value
- the command line argument String value- Returns:
- the resulting domain object
-
-