Class JyStilts


  • public class JyStilts
    extends java.lang.Object
    Writes a Jython module which facilitates use of STILTS functionality from Jython. The main method will write the jython source code to standard output.
    Since:
    12 Feb 2010
    Author:
    Mark Taylor
    • Constructor Summary

      Constructors 
      Constructor Description
      JyStilts​(Stilts stilts)
      Constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Writes jython source code for a stilts.py module to standard output.
      void writeModule​(java.io.Writer writer)
      Outputs the python source code for the stilts module.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JyStilts

        public JyStilts​(Stilts stilts)
        Constructor.
        Parameters:
        stilts - stilts instance defining available tasks etc
    • Method Detail

      • writeModule

        public void writeModule​(java.io.Writer writer)
                         throws java.io.IOException,
                                uk.ac.starlink.util.LoadException,
                                org.xml.sax.SAXException
        Outputs the python source code for the stilts module.
        Parameters:
        writer - destination stream
        Throws:
        java.io.IOException
        uk.ac.starlink.util.LoadException
        org.xml.sax.SAXException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                uk.ac.starlink.util.LoadException,
                                org.xml.sax.SAXException
        Writes jython source code for a stilts.py module to standard output. No arguments.
        Throws:
        java.io.IOException
        uk.ac.starlink.util.LoadException
        org.xml.sax.SAXException