Interface CrawlableDatasetSorter

  • All Known Implementing Classes:
    LexigraphicByNameSorter

    public interface CrawlableDatasetSorter
    The CrawlableDatasetSorter interface provides for sorting a list of CrawlableDatasets. An instance of the CrawlableDatasetSorter interface defines an ordering for a list of CrawlableDatasets. The CrawlableDatasetSorter interface is used by the CollectionLevelScanner class to sort the datasets it is cataloging.
    Since:
    Nov 18, 2005 4:12:50 PM
    • Method Detail

      • sort

        void sort​(List<CrawlableDataset> datasetList)
        Sort the given CrawlableDataset list into the order defined by this sorter.
        Parameters:
        datasetList - the CrawlableDataset list to be sorted.
        Throws:
        ClassCastException - if the list contains elements that are not CrawlableDatasets.
        UnsupportedOperationException - if the given list does not allow the necessary list manipulation.
      • getConfigObject

        Object getConfigObject()
        Return the configuration object.
        Returns:
        the configuration Object (may be null).