|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--net.sf.whatsnew.filter.util.StringUtils
Operations on Strings
| Constructor Summary | |
StringUtils()
|
|
| Method Summary | |
static java.lang.String |
expandTabs(java.lang.String line,
int tabSize)
Expand tabs contained in string argument line. |
static java.lang.String[] |
splitIntoLines(java.lang.String text,
java.lang.String delim)
Splits a string into lines using a newline as delim |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringUtils()
| Method Detail |
public static java.lang.String expandTabs(java.lang.String line,
int tabSize)
throws AppException
line.line - The string to have tabs removedtabSize - The tab size to use in the transformationnull if null
string input)AppException - if an invalid tab size is especied (tabSize
<= 0)
public static java.lang.String[] splitIntoLines(java.lang.String text,
java.lang.String delim)
text - The text to splitdelim - The delim to use
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||