Package edu.cnu.mdi.transfer
Class ImageFilters
java.lang.Object
edu.cnu.mdi.transfer.ImageFilters
Common predicates for filtering dropped image files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionPredicate to test if a File is an actual image by attempting to read it.Predicate to test if a File is a readable image file based on its extension. -
Method Summary
-
Field Details
-
isReadableImage
Predicate to test if a File is a readable image file based on its extension. -
isActualImage
Predicate to test if a File is an actual image by attempting to read it. Slower than isReadableImage but provides certainty
-