|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javawebparts.response.ResponseHelpers
This class contains static methods that are too small to warrant their own class. General response-related utility methods.
Constructor Summary | |
private |
ResponseHelpers()
This is a utility class, so we want a private noarg constructor so instances cannot be created. |
Method Summary | |
static java.lang.String |
encodeEntities(java.lang.String str,
java.lang.String exclusions)
This method replaces any character in a given string that has a corresponding HTML entity with that entity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private ResponseHelpers()
Method Detail |
public static java.lang.String encodeEntities(java.lang.String str, java.lang.String exclusions)
str
- The string to insert entities into.exclusions
- Characters you DO NOT wanted entities inserted for.
Pass null for no exclusions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |