|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentDigest
A DocumentDigest is a compact representation (like a checksum) of the
contents of a Document
. The digest can be used to efficiently
determine whether document contents have changed. This interface does
not define the algorithm used to compute the digest.
Method Summary | |
---|---|
boolean |
equals(byte[] data)
Compares this digest to the digest of a byte array. |
boolean |
equals(java.io.InputStream input)
Compares this digest to the digest of an input stream. |
boolean |
equals(java.lang.Object digest)
Compares this digest to the specified object. |
Method Detail |
---|
boolean equals(java.lang.Object digest)
equals
in class java.lang.Object
digest
- object to be compared to this digest
true
if digest
is a
DocumentDigest
equal to this digestboolean equals(byte[] data)
data
- byte array for which a digest will be computed
true
if the digest computed for data
is
equal to this digestboolean equals(java.io.InputStream input)
input
- input stream for which a digest will be computed
true
if the digest computed for input
is equal to this digest
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |