gov.nasa.pds.citool.comparator
Class Comparator

java.lang.Object
  extended by gov.nasa.pds.citool.comparator.Comparator

public class Comparator
extends java.lang.Object


Constructor Summary
Comparator()
           
 
Method Summary
 void compare(java.util.List<java.net.URL> sources, java.util.List<java.net.URL> targets)
           
 void compare(java.net.URL source, java.net.URL target)
          Perform a comparison between 2 files.
 gov.nasa.pds.tools.label.Label parse(java.net.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

Comparator

public Comparator()
Method Detail

compare

public void compare(java.net.URL source,
                    java.net.URL target)
             throws java.io.IOException
Perform a comparison between 2 files.

Parameters:
source - URL of the source file.
target - URL of the target file.
Throws:
java.io.IOException

compare

public void compare(java.util.List<java.net.URL> sources,
                    java.util.List<java.net.URL> targets)
             throws java.io.IOException
Throws:
java.io.IOException

parse

public gov.nasa.pds.tools.label.Label parse(java.net.URL url)
                                     throws java.io.IOException
Parse the given URL.

Parameters:
url - The URL to parse.
Returns:
An object representation of the PDS label.
Throws:
java.io.IOException


Copyright © 2005-2010 Planetary Data System. All Rights Reserved.