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