Package org.jppf.utils
Class ThumbnailGenerator.ImageFileFilter
java.lang.Object
org.jppf.utils.ThumbnailGenerator.ImageFileFilter
- All Implemented Interfaces:
FileFilter
- Enclosing class:
- ThumbnailGenerator
File filter that only accepts files with specified extensions.
-
Constructor Summary
ConstructorsConstructorDescriptionImageFileFilter(String... extensions) Initialize this filter with the specified extensions. -
Method Summary
-
Constructor Details
-
ImageFileFilter
Initialize this filter with the specified extensions.- Parameters:
extensions- an array of the accepted extensions.
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceFileFilter
-