|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.deli.DeliUtil
Constructor Summary | |
DeliUtil()
|
Method Summary | |
static java.lang.String |
calculateProfileDiffDigest(java.lang.String profileDiff,
boolean normaliseWhitespaceInProfileDiff)
This method calculates a profile-diff-digest. |
static java.lang.String |
removeWhitespaces(java.lang.String diff)
This method removes whitespaces in the profile-diff according to the following two rules: Leading and trailing white spaces are eliminated (white space as defined in RFC 2616 section 2.2) All non-trailing or non-leading linear white space (LWS) contained in the profile description, including line folding of multiple HTTP header lines, is replaced with one single space (SP) character. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeliUtil()
Method Detail |
public static java.lang.String calculateProfileDiffDigest(java.lang.String profileDiff, boolean normaliseWhitespaceInProfileDiff) throws java.lang.Exception
profileDiff
- The profile-diff.normaliseWhitespaceInProfileDiff
- Turn whitespace normalising on or off.
java.lang.Exception
public static java.lang.String removeWhitespaces(java.lang.String diff)
diff
- The profile-diff.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |