Class CIToolIngester


  • public class CIToolIngester
    extends Object
    • Constructor Detail

      • CIToolIngester

        public CIToolIngester​(IngestReport report)
    • Method Detail

      • ingest

        public void ingest​(Target target,
                           boolean recurse)
                    throws Exception
        Ingest catalog file(s).
        Parameters:
        target - URL of the target (directory or file)
        Throws:
        Exception
      • processVolume

        public void processVolume​(List<gov.nasa.pds.tools.label.Label> catLabels)
                           throws Exception
        Throws:
        Exception
      • parse

        public gov.nasa.pds.tools.label.Label parse​(URL url)
        Method to parse the PDS catalog file
        Parameters:
        url - URL of the pds catalog file
        Returns:
        a Label object
      • compare

        public boolean compare​(URL source,
                               URL target)
        Perform a comparison between 2 files.
        Parameters:
        source - URL of the source file.
        target - URL of the target file.
        Throws:
        gov.nasa.pds.tools.LabelParserException
        IOException