|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.grants.apply.util.GrantApplicationHash
This is a convenience object that simplifies the hashing processing to one method call.
Field Summary | |
(package private) static org.apache.log4j.Logger |
log
|
(package private) static java.security.MessageDigest |
messageDigester
|
Method Summary | |
static java.lang.String |
computeAttachmentHash(byte[] attachment)
Computes the hash of an binary attachment. |
static java.lang.String |
computeGrantFormsHash(org.w3c.dom.Document xml)
Computes the hash value for the Grants.gov application XML. |
static java.lang.String |
computeGrantFormsHash(GrantApplicationXpath xpath)
Computes the hash value for the Grants.gov application XML. |
static java.lang.String |
computeGrantFormsHash(java.lang.String xml)
Computes the hash value for the Grants.gov application XML. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final org.apache.log4j.Logger log
static java.security.MessageDigest messageDigester
Method Detail |
public static final java.lang.String computeGrantFormsHash(java.lang.String xml) throws java.lang.Exception
xml
- The Grants.gov application XML.
java.lang.Exception
- When the XML cannot be parsed.public static final java.lang.String computeAttachmentHash(byte[] attachment) throws java.lang.Exception
attachment
-
java.lang.Exception
public static final java.lang.String computeGrantFormsHash(GrantApplicationXpath xpath) throws java.lang.Exception
xpath
- An xpath object holding the Grants.gov application XML.
java.lang.Exception
- When the XML cannot be parsed.public static final java.lang.String computeGrantFormsHash(org.w3c.dom.Document xml) throws java.lang.Exception
xml
- The Grants.gov application XML.
java.lang.Exception
- When the XML cannot be parsed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |