gov.nasa.pds.transform.product
Class Pds4TableTransformer
java.lang.Object
gov.nasa.pds.transform.product.DefaultTransformer
gov.nasa.pds.transform.product.Pds4TableTransformer
- All Implemented Interfaces:
- ProductTransformer
public class Pds4TableTransformer
- extends DefaultTransformer
Class that transforms PDS4 tables into CSV formatted-files.
- Author:
- mcayanan
Constructor Summary |
Pds4TableTransformer(boolean overwrite)
Constructor to set the flag to overwrite outputs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pds4TableTransformer
public Pds4TableTransformer(boolean overwrite)
- Constructor to set the flag to overwrite outputs.
- Parameters:
overwrite
- Set to true to overwrite outputs, false otherwise.
transform
public File transform(File target,
File outputDir,
String format)
throws TransformException
- Transform the given label.
- Specified by:
transform
in interface ProductTransformer
- Specified by:
transform
in class DefaultTransformer
- Parameters:
target
- The PDS4 xml label file.outputDir
- The output directory.format
- the format type.
- Throws:
TransformException
- If an error occurred during transformation.
gov.nasa.pds.objectAccess.ParseException
- If there were errors parsing the given label.
Copyright © 2010–2014 Planetary Data System. All rights reserved.