spcp7.imagegallery.abstractionlayer.face
Interface ImageFilterFace
- All Known Implementing Classes:
- ImageFilterImpl
public interface ImageFilterFace
This is a general interface for determining if a given string specifies an
image or not.
- Author:
- Phillip Merensky
|
Method Summary |
boolean |
accept(java.lang.String imagePath)
|
boolean |
acceptImageMimetype(java.lang.String mimeType)
This method looks for image mimetypes in the given string. |
acceptImageMimetype
boolean acceptImageMimetype(java.lang.String mimeType)
- This method looks for image mimetypes in the given string.
- Parameters:
mimeType - A String which contains a mimetype somewhere
- Returns:
- True if the string contains an image mimetype, false otherwise..
accept
boolean accept(java.lang.String imagePath)
- Parameters:
imagePath - A path which point to a file/node.
- Returns:
- True if the pathstring provided points to an image, false
otherwise.
Copyright © 2008. All Rights Reserved.