uk.ac.starlink.ttools.build
Class JyStilts

java.lang.Object
  extended by uk.ac.starlink.ttools.build.JyStilts

public class JyStilts
extends 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
JyStilts(Stilts stilts)
          Constructor.
 
Method Summary
static void main(String[] args)
          Writes jython source code for a stilts.py module to standard output.
 void writeModule(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(Writer writer)
                 throws IOException,
                        LoadException,
                        SAXException
Outputs the python source code for the stilts module.

Parameters:
writer - destination stream
Throws:
IOException
LoadException
SAXException

main

public static void main(String[] args)
                 throws IOException,
                        LoadException,
                        SAXException
Writes jython source code for a stilts.py module to standard output. No arguments.

Throws:
IOException
LoadException
SAXException


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