Class CIToolComparator


  • public class CIToolComparator
    extends Object
    • Constructor Detail

      • CIToolComparator

        public CIToolComparator​(CompareReport report)
    • Method Detail

      • compare

        public void compare​(Target source,
                            Target target,
                            boolean recurse)
                     throws Exception
        Compare two targets.
        Parameters:
        source - Object representation of the source
        target - Object representation of the target
        Throws:
        Exception
      • compare

        public void 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
      • compare

        public void compare​(List<URL> sources,
                            List<URL> targets)
      • parse

        public gov.nasa.pds.tools.label.Label parse​(URL url)
        Parse the given URL.
        Parameters:
        url - The URL to parse.
        Returns:
        An object representation of the PDS label.
        Throws:
        gov.nasa.pds.tools.LabelParserException
        IOException