gov.nasa.pds.transform.product
Class Pds3LabelTransformer

java.lang.Object
  extended by gov.nasa.pds.transform.product.DefaultTransformer
      extended by gov.nasa.pds.transform.product.Pds3LabelTransformer
All Implemented Interfaces:
ProductTransformer

public class Pds3LabelTransformer
extends DefaultTransformer

Class to support transformations given a PDS3 label.

Author:
mcayanan

Field Summary
 
Fields inherited from class gov.nasa.pds.transform.product.DefaultTransformer
log, overwriteOutput
 
Constructor Summary
Pds3LabelTransformer(boolean overwrite)
          Constructor to set the flag to overwrite outputs.
 
Method Summary
 File transform(File target, File outputDir, String format)
          Transform a single target.
 
Methods inherited from class gov.nasa.pds.transform.product.DefaultTransformer
transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pds3LabelTransformer

public Pds3LabelTransformer(boolean overwrite)
Constructor to set the flag to overwrite outputs.

Parameters:
overwrite - Set to true to overwrite outputs, false otherwise.
Method Detail

transform

public File transform(File target,
                      File outputDir,
                      String format)
               throws TransformException
Description copied from interface: ProductTransformer
Transform a single target.

Specified by:
transform in interface ProductTransformer
Specified by:
transform in class DefaultTransformer
Parameters:
target - file specification to the PDS label.
outputDir - directory where the output file will be written.
format - Valid format file type.
Throws:
TransformException


Copyright © 2010–2014 Planetary Data System. All rights reserved.