gov.nasa.pds.citool
Class CIToolComparator

java.lang.Object
  extended by gov.nasa.pds.citool.CIToolComparator

public class CIToolComparator
extends Object


Constructor Summary
CIToolComparator(CompareReport report)
           
 
Method Summary
 void compare(List<URL> sources, List<URL> targets)
           
 void compare(Target source, Target target, boolean recurse)
          Compare two targets.
 void compare(URL source, URL target)
          Perform a comparison between 2 files.
 gov.nasa.pds.tools.label.Label parse(URL url)
          Parse the given URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


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