faa.tg.prep.aces
Class AcesToXml

java.lang.Object
  extended by faa.tg.prep.aces.AcesToXml

public class AcesToXml
extends java.lang.Object


Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  java.io.File inFile
           
private  java.io.File outFile
           
 
Constructor Summary
AcesToXml(AcesParser acesParser, java.io.DataOutputStream dos)
          Constructor - For embedded use.
AcesToXml(java.io.File inFile, java.io.File outFile)
          Constructor- For stand alone use.
 
Method Summary
static void main(java.lang.String[] args)
          Method main - For stand alone use.
private  void processAcesLines(AcesParser acesParser, java.io.DataOutputStream dos)
          Method processacesLines - Uses the given AcesParser to write the XML to the given DataOutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

inFile

private java.io.File inFile

outFile

private java.io.File outFile
Constructor Detail

AcesToXml

public AcesToXml(java.io.File inFile,
                 java.io.File outFile)
Constructor- For stand alone use.

Parameters:
inFile - : the File from which to read the ACES data.
outFile - : the File to which the XML data representation will be written.

AcesToXml

public AcesToXml(AcesParser acesParser,
                 java.io.DataOutputStream dos)
Constructor - For embedded use.

Parameters:
acesParser - : the parser to tokenize the ACES data.
dos - : the DataOutputStream to which the XML data representation will be written. Currently writes a complete XML file.
Method Detail

processAcesLines

private void processAcesLines(AcesParser acesParser,
                              java.io.DataOutputStream dos)
Method processacesLines - Uses the given AcesParser to write the XML to the given DataOutputStream. Assumes the first token is a Data Set name and first token after a Data Set Termination (i.e. $) is a data set name.

Parameters:
acesParser. -
dos. -

main

public static void main(java.lang.String[] args)
Method main - For stand alone use.

Parameters:
args - -i -o