|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.util.DigestUtility
public class DigestUtility
This class contains utility methods for working on digests.
Constructor Summary | |
---|---|
DigestUtility()
|
Method Summary | |
---|---|
static void |
updateDigestBoolean(MessageDigest digest,
boolean b)
Updates the cache key digest with a boolean. |
static void |
updateDigestDouble(MessageDigest digest,
double d)
Updates a digest with a double. |
static void |
updateDigestFloat(MessageDigest digest,
float f)
Updates a digest with a float. |
static void |
updateDigestInt(MessageDigest digest,
int i)
Updates a digest with an int. |
static void |
updateDigestLong(MessageDigest digest,
long l)
Updates a digest with a long. |
static void |
updateDigestObject(MessageDigest digest,
Object obj)
Updates a digest with an object. |
static void |
updateDigestShort(MessageDigest digest,
short s)
Updates a digest with a float. |
static void |
updateDigestString(MessageDigest digest,
String s)
Updates the cache key digest with a boolean. |
static void |
updateDigestStringArray(MessageDigest digest,
String[] s)
Updates the digest with a String array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DigestUtility()
Method Detail |
---|
public static void updateDigestBoolean(MessageDigest digest, boolean b)
digest
- the digest to update (not null
)b
- the booleanpublic static void updateDigestString(MessageDigest digest, String s)
digest
- the digest to update (not null
)s
- the Stringpublic static void updateDigestStringArray(MessageDigest digest, String[] s)
digest
- the digest to update (not null
)s
- the String arraypublic static void updateDigestInt(MessageDigest digest, int i)
digest
- the digest to update (not null
)b
- the intpublic static void updateDigestLong(MessageDigest digest, long l)
digest
- the digest to update (not null
)l
- the longpublic static void updateDigestDouble(MessageDigest digest, double d)
digest
- the digest to update (not null
)d
- the doublepublic static void updateDigestFloat(MessageDigest digest, float f)
digest
- the digest to update (not null
)f
- the floatpublic static void updateDigestShort(MessageDigest digest, short s)
digest
- the digest to update (not null
)s
- the floatpublic static void updateDigestObject(MessageDigest digest, Object obj)
digest
- the digest to update (not null
)obj
- the object
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |