|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.citool.comparator.CatalogComparator
public class CatalogComparator
Class to compare two PDS catalog files.
Constructor Summary | |
---|---|
CatalogComparator()
|
Method Summary | |
---|---|
List<gov.nasa.pds.tools.LabelParserException> |
checkAttributeEquality(List<gov.nasa.pds.tools.label.AttributeStatement> sources,
gov.nasa.pds.tools.label.Label target)
Checks if the list of attributes are equal to the attributes in the target PDS catalog file. |
gov.nasa.pds.tools.label.Label |
checkEquality(gov.nasa.pds.tools.label.Label source,
gov.nasa.pds.tools.label.Label target)
Determines if the two supplied catalog labels are equal. |
List<gov.nasa.pds.tools.LabelParserException> |
checkObjectEquality(List<gov.nasa.pds.tools.label.ObjectStatement> sources,
gov.nasa.pds.tools.label.Label target)
Checks if the list of object statements are equal to the objects found in the target PDS catalog file. |
List<gov.nasa.pds.tools.LabelParserException> |
checkPointerEquality(List<gov.nasa.pds.tools.label.PointerStatement> sources,
gov.nasa.pds.tools.label.Label target)
Checks if the list of pointer statements are equal to the pointers found in the target PDS catalog file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CatalogComparator()
Method Detail |
---|
public gov.nasa.pds.tools.label.Label checkEquality(gov.nasa.pds.tools.label.Label source, gov.nasa.pds.tools.label.Label target)
source
- A label representation of the "source" PDS Catalog
file.target
- A label representation of the "target" PDS Catalog
file.
public List<gov.nasa.pds.tools.LabelParserException> checkAttributeEquality(List<gov.nasa.pds.tools.label.AttributeStatement> sources, gov.nasa.pds.tools.label.Label target)
sources
- A list of attribute statements.target
- A label representation of the "target" PDS catalog
file.
public List<gov.nasa.pds.tools.LabelParserException> checkPointerEquality(List<gov.nasa.pds.tools.label.PointerStatement> sources, gov.nasa.pds.tools.label.Label target)
sources
- A list of pointer statements.target
- A label representation of the "target" PDS catalog
file.
public List<gov.nasa.pds.tools.LabelParserException> checkObjectEquality(List<gov.nasa.pds.tools.label.ObjectStatement> sources, gov.nasa.pds.tools.label.Label target)
sources
- A list of object statements.target
- A label representation of the "target" PDS catalog
file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |