Class Pds4ToPds3LabelTransformer


  • public class Pds4ToPds3LabelTransformer
    extends Object
    Class to transform a PDS4 label to a PDS3 label.
    Author:
    mcayanan
    • 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.