uk.ac.starlink.ttools
Class MetadataMode

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

public class MetadataMode
extends ProcessingMode

Processing mode which summarises table metadata.

Since:
11 Feb 2005

Constructor Summary
MetadataMode()
           
 
Method Summary
 String getName()
          Returns the name of this mode.
 void process(StarTable table)
          Writes metadata details to output stream.
 
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

MetadataMode

public MetadataMode()
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
Writes metadata details to output stream.

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.