Class SizeRangeFileFilter

  • All Implemented Interfaces:
    java.io.Serializable, FileFilter

    public class SizeRangeFileFilter
    extends java.lang.Object
    implements FileFilter, java.io.Serializable
    Filter that accepts files whose size is >= minimum size and <= maximum size.
    Since:
    2.4
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SizeRangeFileFilter​(long minSizeInclusive, long maxSizeInclusive)
      Constructor with sizes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(FileSelectInfo fileSelectInfo)
      Determines if a file or folder should be selected.
      • Methods inherited from class java.lang.Object

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

      • SizeRangeFileFilter

        public SizeRangeFileFilter​(long minSizeInclusive,
                                   long maxSizeInclusive)
        Constructor with sizes.
        Parameters:
        minSizeInclusive - the minimum file size (inclusive)
        maxSizeInclusive - the maximum file size (inclusive)
    • Method Detail