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, wait
configure, convert
public T convert(Iterable<String> args) throws CommandLineArgumentException
convert
in interface CommandLineConverter<T>
CommandLineArgumentException
public T convert(ParsedCommandLine args) throws CommandLineArgumentException
convert
in interface CommandLineConverter<T>
CommandLineArgumentException
public T convert(Iterable<String> args, T target) throws CommandLineArgumentException
convert
in interface CommandLineConverter<T>
CommandLineArgumentException
protected abstract T newInstance()
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.