|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.noelios.restlet.util.StringUtils
public class StringUtils
String manipulation utilities.
Constructor Summary | |
---|---|
StringUtils()
|
Method Summary | |
---|---|
static java.lang.String |
strip(java.lang.String source,
char delimiter)
Strips a delimiter character from both ends of the source string. |
static java.lang.String |
strip(java.lang.String source,
char delimiter,
boolean start,
boolean end)
Strips a delimiter character from a source string. |
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 strip(java.lang.String source, char delimiter)
source
- The source string to strip.delimiter
- The character to remove.
public static java.lang.String strip(java.lang.String source, char delimiter, boolean start, boolean end)
source
- The source string to strip.delimiter
- The character to remove.start
- Indicates if start of source should be stripped.end
- Indicates if end of source should be stripped.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |