org.gerhardb.lib.image
Interface ImageFactoryPlugin
public interface ImageFactoryPlugin
|
Method Summary |
boolean |
canHandle(java.io.File aFile)
Used to actually decide if a file can be displayed. |
java.lang.String[] |
getEndingsLowercase()
Used for filename filters and for providing
information on available endings to the user. |
IOImage |
makeImage(java.io.File aFile)
|
getEndingsLowercase
java.lang.String[] getEndingsLowercase()
- Used for filename filters and for providing
information on available endings to the user.
- Returns:
canHandle
boolean canHandle(java.io.File aFile)
- Used to actually decide if a file can be displayed.
- Parameters:
aFile -
- Returns:
makeImage
IOImage makeImage(java.io.File aFile)
throws java.lang.Exception
- Returns:
- Returns the image if good, else returns null.
- Throws:
java.lang.Exception
Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.