gov.nasa.pds.citool
Class CIToolComparator
java.lang.Object
gov.nasa.pds.citool.CIToolComparator
public class CIToolComparator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CIToolComparator
public CIToolComparator(CompareReport report)
compare
public void compare(Target source,
Target target,
boolean recurse)
throws Exception
- Compare two targets.
- Parameters:
source
- Object representation of the sourcetarget
- 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-2013 Planetary Data System. All Rights Reserved.