Package gov.nasa.pds.citool
Class CIToolComparator
- java.lang.Object
-
- gov.nasa.pds.citool.CIToolComparator
-
public class CIToolComparator extends Object
-
-
Constructor Summary
Constructors Constructor Description CIToolComparator(CompareReport report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compare(Target source, Target target, boolean recurse)
Compare two targets.void
compare(URL source, URL target)
Perform a comparison between 2 files.void
compare(List<URL> sources, List<URL> targets)
gov.nasa.pds.tools.label.Label
parse(URL url)
Parse the given URL.
-
-
-
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 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
-
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
-
-