gov.nasa.pds.transform.types.pds4
Class TableTransformer

java.lang.Object
  extended by gov.nasa.pds.transform.types.pds4.TableTransformer

public class TableTransformer
extends Object

Class that transforms PDS4 tables into CSV formatted-files.

Author:
mcayanan

Constructor Summary
TableTransformer()
          Default constructor.
 
Method Summary
 void transform(File labelFile, File outputFile)
          Transform the given label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableTransformer

public TableTransformer()
Default constructor.

Method Detail

transform

public void transform(File labelFile,
                      File outputFile)
               throws TransformException,
                      gov.nasa.pds.objectAccess.ParseException
Transform the given label.

Parameters:
labelFile - The PDS4 xml label file.
outputFile - The output file. If none is provided, the output will go to standard out.
Throws:
TransformException - If an error occurred during transformation.
gov.nasa.pds.objectAccess.ParseException - If there were errors parsing the given label.


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.