|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a class which can save an Image to a file. The writing may be compressed, lossy, or whatever, just as long as a proper file Diff of the same Image (but different files) will result in no differences.
Method Summary | |
java.lang.String |
getFileExtention()
Discover the file extention for images created by this scraper. |
void |
writeImageToFile(java.awt.image.BufferedImage image,
java.io.File file)
Write the given image to the given file. |
Method Detail |
public void writeImageToFile(java.awt.image.BufferedImage image, java.io.File file) throws java.io.IOException
image
- The screen image to write to disk.file
- The File to save the image as.
java.io.IOException
- thrown if there was a problem saving the image to
the file.public java.lang.String getFileExtention()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |