T
- the return type when parsing the output from the command line client.public interface ParseableCommand<T> extends Command
Modifier and Type | Method and Description |
---|---|
T |
parse(Reader reader)
Returns data from parsing the command line client output in reader
|
getArguments
T parse(Reader reader) throws ParseException, IOException
reader
- reader containing the output from the command line clientParseException
- thrown if there was a problem parsing the dataIOException
- thrown if there was a problem reading the data from the readerCopyright © 2016–2023. All rights reserved.