uk.ac.starlink.ttools
Class StatsMode

java.lang.Object
  |
  +--uk.ac.starlink.ttools.ProcessingMode
        |
        +--uk.ac.starlink.ttools.StatsMode

public class StatsMode
extends ProcessingMode

Processing mode for calculating statistics on a table.

Since:
16 Mar 2005

Constructor Summary
StatsMode()
           
 
Method Summary
 String getName()
          Returns the name of this mode.
 void process(StarTable table)
          Perform disposal of the table.
 
Methods inherited from class uk.ac.starlink.ttools.ProcessingMode
getModeUsage, getOutputStream, setArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsMode

public StatsMode()
Method Detail

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
Description copied from class: ProcessingMode
Perform disposal of the table.

Specified by:
process in class ProcessingMode
Parameters:
table - input table to do something with
IOException

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.