|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.image.FileImageComparator
public class FileImageComparator
Allowes compares images in memory to ones stored in files and compare such images one with another.
Constructor Summary | |
---|---|
FileImageComparator(ImageComparator comparator,
ImageLoader loader)
Constructs a FileImageComparator object. |
Method Summary | |
---|---|
boolean |
compare(BufferedImage image,
String fileName)
Compares an image with one stored in file. |
boolean |
compare(String fileName1,
String fileName2)
Compares two image stored in files.. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileImageComparator(ImageComparator comparator, ImageLoader loader)
comparator
- - ImageComparator to be used for image comparision.loader
- - ImageLoader to be used for image loading.Method Detail |
---|
public boolean compare(BufferedImage image, String fileName)
image
- an image to compare.fileName
- a file containing an image to compare.
public boolean compare(String fileName1, String fileName2)
fileName1
- a file containing an image to compare.fileName2
- a file containing an image to compare.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |