|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.ttools.TableTask | +--uk.ac.starlink.ttools.TablePipe
Pipeline tool for generic table manipulation.
Constructor Summary | |
TablePipe()
|
Method Summary | |
void |
execute()
Performs the work of this task; |
String |
getCommandName()
Returns the name by which this task would like to be known. |
String |
getHelp()
Returns a help message. |
StarTable |
getInputTable()
Returns the table at the end of the pipe ready to be disposed of. |
String[] |
getSpecificOptions()
Returns a list of options specfic to this TableTask subclass. |
StarTable |
getStreamedTable(InputStream in)
Returns a one-shot StarTable derived from an input stream. |
static void |
main(String[] args)
|
boolean |
setArgs(List argList)
Consume a list of arguments. |
Methods inherited from class uk.ac.starlink.ttools.TableTask |
getGenericOptions, getTableFactory, getUsage, isNoAction, isVerbose, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TablePipe()
Method Detail |
public String getCommandName()
TableTask
getCommandName
in class TableTask
public boolean setArgs(List argList)
TableTask
setArgs
in class TableTask
argList
- an array of strings obtained from the command line
public StarTable getInputTable() throws IOException
IOException
public StarTable getStreamedTable(InputStream in) throws IOException
in
- input stream
IOException
public void execute() throws IOException
TableTask
execute
in class TableTask
IOException
public String getHelp()
TableTask
getHelp
in class TableTask
public String[] getSpecificOptions()
TableTask
getSpecificOptions
in class TableTask
public static void main(String[] args)
|
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 |