uk.ac.starlink.ttools
Class CountMode
java.lang.Object
|
+--uk.ac.starlink.ttools.ProcessingMode
|
+--uk.ac.starlink.ttools.CountMode
- public class CountMode
- extends ProcessingMode
Processing mode which just counts the number of rows and columns and
writes a summary to the output stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountMode
public CountMode()
getName
public String getName()
- Description copied from class:
ProcessingMode
- Returns the name of this mode.
The returned value should be short and preferably lower case -
it will be used (with a prepended "-") as the name of a command
line flag.
- Specified by:
getName
in class ProcessingMode
- Returns:
- mode name
process
public void process(StarTable table)
throws IOException
- Counts rows and columns and writes output.
- Specified by:
process
in class ProcessingMode
- Parameters:
table
- input table to do something with
IOException