Class NoSorting

  • All Implemented Interfaces:
    FileSorter

    public class NoSorting
    extends java.lang.Object
    implements FileSorter
    Do no sorting at all.

    In the adapter configuration file this class is aliased as fs-sort-none which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Summary

      Constructors 
      Constructor Description
      NoSorting()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.io.File> sort​(java.util.List<java.io.File> unsorted)
      Sort the list of files that need to be processed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoSorting

        public NoSorting()
    • Method Detail

      • sort

        public java.util.List<java.io.File> sort​(java.util.List<java.io.File> unsorted)
        Description copied from interface: FileSorter
        Sort the list of files that need to be processed.
        Specified by:
        sort in interface FileSorter
        Parameters:
        unsorted - an unsorted list of files.
        Returns:
        the sorted list.