T - type of contextpublic static interface CommandLine.ArgumentsConsumer<T>
| Modifier and Type | Method and Description |
|---|---|
int |
consume(String[] args,
int index,
T context)
Consume arguments starting at the given index, return the number of arguments consumed.
|
boolean |
matches(String arg,
T context)
Return true if the given argument matches this consumer.
|
Copyright © 2019. All rights reserved.