|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tacos.util.StringUtils
Provides commonly used string functions not provided by other String based libraries.
Field Summary | |
static String |
BEGIN_COMMENT
XML cdata start |
static String |
END_COMMENT
XML character data end |
protected static String |
JS_PATTERN
Javascript regexp string looking for |
Constructor Summary | |
StringUtils()
|
Method Summary | |
static String |
ensureValidScriptTags(String input)
Takes any tags found in the specified input string and replaces their contents into one large block (meaning if multiple script blocks are found, they will be turned into one), with the addition of BEGIN_COMMENT inserted before the logic block and
END_COMMENT inserted after the logic block. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String JS_PATTERN
public static final String BEGIN_COMMENT
public static final String END_COMMENT
Constructor Detail |
public StringUtils()
Method Detail |
public static String ensureValidScriptTags(String input)
BEGIN_COMMENT
inserted before the logic block and
END_COMMENT
inserted after the logic block.
input
- The string to replace tags on
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |