Class Stilts


  • public class Stilts
    extends java.lang.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

      Fields 
      Modifier and Type Field Description
      static java.lang.String VERSION_RESOURCE  
    • Constructor Summary

      Constructors 
      Constructor Description
      Stilts()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static uk.ac.starlink.util.ObjectFactory<ProcessingMode> getModeFactory()
      Returns the factory which can create any of the known output modes.
      static java.lang.String getStarjavaRevision()
      Returns the revision string for the starjava repository, if available.
      static uk.ac.starlink.util.ObjectFactory<uk.ac.starlink.task.Task> getTaskFactory()
      Returns the factory which can create any of the known tasks.
      static java.lang.String getVersion()
      Returns the version number for the STILTS package.
      static void main​(java.lang.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 java.lang.String VERSION_RESOURCE
        See Also:
        Constant Field Values
    • Constructor Detail

      • Stilts

        public Stilts()
    • Method Detail

      • main

        public static void main​(java.lang.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<ProcessingMode> getModeFactory()
        Returns the factory which can create any of the known output modes.
        Returns:
        factory which creates processing modes
      • getTaskFactory

        public static uk.ac.starlink.util.ObjectFactory<uk.ac.starlink.task.Task> getTaskFactory()
        Returns the factory which can create any of the known tasks.
        Returns:
        factory which creates tasks
      • getVersion

        public static java.lang.String getVersion()
        Returns the version number for the STILTS package.
        Returns:
        version string
      • getStarjavaRevision

        public static java.lang.String getStarjavaRevision()
        Returns the revision string for the starjava repository, if available.
        Returns:
        revision string