gov.nasa.pds.citool.comparator.types
Class ComparatorType

java.lang.Object
  extended by gov.nasa.pds.citool.comparator.types.ComparatorType
Direct Known Subclasses:
DirToDirComparator, FileToFileComparator

public abstract class ComparatorType
extends java.lang.Object

An abstract class to handle the different types of comparisons that can be made in the Catalog Ingestion Tool.

Author:
mcayanan

Constructor Summary
ComparatorType()
           
 
Method Summary
abstract  void compare(java.net.URL source, java.net.URL target)
           
 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

ComparatorType

public ComparatorType()
Method Detail

compare

public abstract void compare(java.net.URL source,
                             java.net.URL target)

parse

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

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


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