Class LimitWithDirectory


public class LimitWithDirectory extends FilesProviderWithDirectoryUnary
  • Constructor Details

    • LimitWithDirectory

      public LimitWithDirectory()
  • Method Details

    • transform

      protected List<File> transform(List<File> source) throws FilesProviderException
      Description copied from class: FilesProviderWithDirectoryUnary
      Transform an existing collection of files.

      Note that the incoming collection of files may be modified, and can no longer be used in its original form after this method call.

      Specified by:
      transform in class FilesProviderWithDirectoryUnary
      Parameters:
      source - the incoming files (which may be consumed and modified).
      Returns:
      the transformed (outgoing) files.
      Throws:
      FilesProviderException - if unable to complete the transform operation successfully.
    • getMaxNumItems

      public int getMaxNumItems()
    • setMaxNumItems

      public void setMaxNumItems(int maxNumItems)