Package gov.nasa.pds.transform.product
Class Pds4ToPds3LabelTransformer
- java.lang.Object
-
- gov.nasa.pds.transform.product.Pds4ToPds3LabelTransformer
-
public class Pds4ToPds3LabelTransformer extends Object
Class to transform a PDS4 label to a PDS3 label.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description Pds4ToPds3LabelTransformer(File output)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description gov.nasa.pds.tools.label.Labeltransform(File pds4Label)Transform the given PDS4 label into a PDS3 label.
-
-
-
Field Detail
-
log
protected static Logger log
-
-
Constructor Detail
-
Pds4ToPds3LabelTransformer
public Pds4ToPds3LabelTransformer(File output)
Constructor.- Parameters:
output- The location of where to store the results.
-
-
Method Detail
-
transform
public gov.nasa.pds.tools.label.Label transform(File pds4Label) throws TransformException
Transform the given PDS4 label into a PDS3 label.- Parameters:
pds4Label- The PDS4 label to transform.- Returns:
- a Label object representation of the PDS3 label.
- Throws:
TransformException- If an error occurred during transformation.
-
-