Class RIFileSorter


  • public class RIFileSorter
    extends Object
    • 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()