|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.ttools.TableTask
Generic superclass for table processing utilities.
Constructor Summary | |
TableTask()
|
Method Summary | |
abstract void |
execute()
Performs the work of this task; |
abstract String |
getCommandName()
Returns the name by which this task would like to be known. |
String[] |
getGenericOptions()
Returns a list of generic options understood by this class. |
String |
getHelp()
Returns a help message. |
abstract String[] |
getSpecificOptions()
Returns a list of options specfic to this TableTask subclass. |
StarTableFactory |
getTableFactory()
Returns a table factory. |
String |
getUsage()
Returns a usage message. |
boolean |
isNoAction()
|
boolean |
isVerbose()
|
boolean |
run(String[] args)
Runs this task. |
boolean |
setArgs(List argList)
Consume a list of arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TableTask()
Method Detail |
public abstract String getCommandName()
public boolean run(String[] args)
args
- command line arguments
public boolean setArgs(List argList)
argList
- an array of strings obtained from the command line
public boolean isVerbose()
public boolean isNoAction()
public abstract void execute() throws IOException
IOException
public StarTableFactory getTableFactory()
public String getHelp()
public String getUsage()
getGenericOptions()
and
getSpecificOptions()
.
public String[] getGenericOptions()
public abstract String[] getSpecificOptions()
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |