gov.nasa.pds.citool.ri
Class RIFileSorter

java.lang.Object
  extended by gov.nasa.pds.citool.ri.RIFileSorter

public class RIFileSorter
extends Object


Constructor Summary
RIFileSorter(List<gov.nasa.pds.tools.label.Label> catalogs)
          Class to sort the given list of catalog files into parents and children.
 
Method Summary
 List<gov.nasa.pds.tools.label.Label> getChildren()
           
 List<String> getChildrenFiles()
           
 List<String> getParentFiles()
           
 List<gov.nasa.pds.tools.label.Label> getParents()
           
 void sort(RIType type)
          Sort the catalog files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RIFileSorter

public RIFileSorter(List<gov.nasa.pds.tools.label.Label> catalogs)
Class to sort the given list of catalog files into parents and children.

Parameters:
catalogs - A list of catalog files.
Method Detail

sort

public void sort(RIType type)
Sort the catalog files.

Parameters:
type - An RIType. This determines how the files get sorted.

getParents

public List<gov.nasa.pds.tools.label.Label> getParents()

getChildren

public List<gov.nasa.pds.tools.label.Label> getChildren()

getParentFiles

public List<String> getParentFiles()

getChildrenFiles

public List<String> getChildrenFiles()


Copyright © 2010–2015 Planetary Data System. All rights reserved.