xml
Class DOMEnlarge.AddFitsName

java.lang.Object
  extended by xml.DOMEnlarge.AddFitsName
Enclosing class:
DOMEnlarge

public static final class DOMEnlarge.AddFitsName
extends Object

A class to add fits file names to the targets.


Constructor Summary
DOMEnlarge.AddFitsName()
           
 
Method Summary
static void main(String[] arg)
          We use the input file from the first argument and parse it into a source DOM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMEnlarge.AddFitsName

public DOMEnlarge.AddFitsName()
Method Detail

main

public static void main(String[] arg)
We use the input file from the first argument and parse it into a source DOM. This DOM is then scanned for the first Setup element. A Constant element is then created. The constants already found in the setup section are investigated if they carry a FitsName constant. If not, a fits name derived from the input file name is inserted. The result is then writtn to the file constructed from the second command line argument.