uk.ac.starlink.ttools
Class Stilts

java.lang.Object
  extended by uk.ac.starlink.ttools.Stilts

public class Stilts
extends Object

Top-level class for invoking tasks in the STILTS package. Invoking the main() method with no arguments will write a usage message.

Since:
17 Aug 2005
Author:
Mark Taylor

Field Summary
static String VERSION_RESOURCE
           
 
Constructor Summary
Stilts()
           
 
Method Summary
static uk.ac.starlink.util.ObjectFactory getModeFactory()
          Returns the factory which can create any of the known output modes.
static uk.ac.starlink.util.ObjectFactory getTaskFactory()
          Returns the factory which can create any of the known tasks.
static String getVersion()
          Returns the version number for the STILTS package.
static void main(String[] args)
          Main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_RESOURCE

public static final String VERSION_RESOURCE
See Also:
Constant Field Values
Constructor Detail

Stilts

public Stilts()
Method Detail

main

public static void main(String[] args)
Main method. Invoked with no arguments, a usage message will be output.

Parameters:
args - argument vector

getModeFactory

public static uk.ac.starlink.util.ObjectFactory getModeFactory()
Returns the factory which can create any of the known output modes.

Returns:
factory which creates ProcessingMode objects.

getTaskFactory

public static uk.ac.starlink.util.ObjectFactory getTaskFactory()
Returns the factory which can create any of the known tasks.

Returns:
factory which creates Task objects.

getVersion

public static String getVersion()
Returns the version number for the STILTS package.

Returns:
version string


Copyright © 2009 Central Laboratory of the Research Councils. All Rights Reserved.