|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.ttools.ProcessingMode
Interface defining the final element of a table processing pipeline - the one which disposes of the table in some way.
Constructor Summary | |
ProcessingMode()
|
Method Summary | |
String |
getModeUsage()
Returns a list of additional flags which can be used when this mode is operational (as processed by setArgs). |
abstract String |
getName()
Returns the name of this mode. |
PrintStream |
getOutputStream()
Returns the output stream to which processing modes should write user-directed (human-readable) output. |
abstract void |
process(StarTable table)
Perform disposal of the table. |
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 ProcessingMode()
Method Detail |
public abstract String getName()
public abstract void process(StarTable table) throws IOException
table
- input table to do something with
IOException
public boolean setArgs(List argList)
argList
- an array of strings obtained from the command line
public String getModeUsage()
public PrintStream getOutputStream()
|
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 |