|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ginp.util.StringTool
public class StringTool
Tools for common String manipulations.
| Constructor Summary | |
|---|---|
StringTool()
Constructor for the StringTool object |
|
| Method Summary | |
|---|---|
static java.lang.String |
getXMLTagContent(java.lang.String tagName,
java.lang.String xml)
Gets the tagContent attribute of the StringTool class |
static java.lang.String |
replace(java.lang.String txt,
java.lang.String remove,
java.lang.String replacement)
Description of the Method |
static java.lang.String[] |
splitToArray(java.lang.String txt,
java.lang.String del)
Split the string into an array based on the delininator. |
static java.lang.String |
XMLEscape(java.lang.String input)
This takes any string and escapes it so it doesn't interfere with any of the surrounding xml by inserting entities for the following -> amp, lt, gt, apos, quot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringTool()
| Method Detail |
|---|
public static java.lang.String replace(java.lang.String txt,
java.lang.String remove,
java.lang.String replacement)
txt - Description of the Parameterremove - Description of the Parameterreplacement - Description of the Parameter
public static java.lang.String[] splitToArray(java.lang.String txt,
java.lang.String del)
txt - Text to Splitdel - Deliminator to Split on
public static java.lang.String getXMLTagContent(java.lang.String tagName,
java.lang.String xml)
tagName - Description of the Parameterxml - Description of the Parameter
public static java.lang.String XMLEscape(java.lang.String input)
input - the Inputed XML String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||