|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.util.ImageComparator
The ImageComparator tries to compare a byte[] for equality by creating 2 hashes for the bytearray and comparing thoose hashes. If no digest algorithms are available, then the complete byte[] is used for comparison.
| Constructor Summary | |
ImageComparator()
Creates a new ImageComparator. |
|
| Method Summary | |
com.jrefinery.report.util.ImageComparator.ImageCompareData |
createCompareData(byte[] image)
Creates 2 comparable objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageComparator()
| Method Detail |
public com.jrefinery.report.util.ImageComparator.ImageCompareData createCompareData(byte[] image)
image - the image data which should be prepared for comparison
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||