T - typepublic abstract class AbstractCommandLineConverter<T> extends Object implements CommandLineConverter<T>
| Constructor and Description |
|---|
AbstractCommandLineConverter() |
| Modifier and Type | Method and Description |
|---|---|
T |
convert(Iterable<String> args) |
T |
convert(Iterable<String> args,
T target) |
T |
convert(ParsedCommandLine args) |
protected abstract T |
newInstance() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, convertpublic T convert(Iterable<String> args) throws CommandLineArgumentException
convert in interface CommandLineConverter<T>CommandLineArgumentExceptionpublic T convert(ParsedCommandLine args) throws CommandLineArgumentException
convert in interface CommandLineConverter<T>CommandLineArgumentExceptionpublic T convert(Iterable<String> args, T target) throws CommandLineArgumentException
convert in interface CommandLineConverter<T>CommandLineArgumentExceptionprotected abstract T newInstance()
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.