|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.tools.cmdline.CmdLineTool
public abstract class CmdLineTool
Base class for all command line tools.
Constructor Summary | |
---|---|
protected |
CmdLineTool()
|
Method Summary | ||
---|---|---|
protected
|
getBasicHelp(Class<T>... argProxyInterfaces)
|
|
protected
|
getBasicHelp(Class<T> argProxyInterface)
|
|
abstract String |
getHelp()
Retrieves a description on how to use the tool. |
|
String |
getName()
Retrieves the name of the training data tool. |
|
String |
getShortDescription()
Retrieves a short description of what the tool does. |
|
boolean |
hasParams()
Returns whether the tool has any command line params. |
|
protected
|
validateAndParseParams(String[] args,
Class<T> argProxyInterface)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CmdLineTool()
Method Detail |
---|
public String getName()
public boolean hasParams()
protected <T> String getBasicHelp(Class<T> argProxyInterface)
protected <T> String getBasicHelp(Class<T>... argProxyInterfaces)
public abstract String getHelp()
protected <T> T validateAndParseParams(String[] args, Class<T> argProxyInterface)
public String getShortDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |