| java.lang.Object com.noelios.restlet.util.StringUtils
StringUtils | public class StringUtils (Code) | | String manipulation utilities.
author: Jerome Louvel (contact@noelios.com) |
Method Summary | |
public static String | strip(String source, char delimiter) Strips a delimiter character from both ends of the source string.
Parameters: source - The source string to strip. Parameters: delimiter - The character to remove. | public static String | strip(String source, char delimiter, boolean start, boolean end) Strips a delimiter character from a source string.
Parameters: source - The source string to strip. Parameters: delimiter - The character to remove. Parameters: start - Indicates if start of source should be stripped. Parameters: end - Indicates if end of source should be stripped. |
strip | public static String strip(String source, char delimiter)(Code) | | Strips a delimiter character from both ends of the source string.
Parameters: source - The source string to strip. Parameters: delimiter - The character to remove. The stripped string. |
strip | public static String strip(String source, char delimiter, boolean start, boolean end)(Code) | | Strips a delimiter character from a source string.
Parameters: source - The source string to strip. Parameters: delimiter - The character to remove. Parameters: start - Indicates if start of source should be stripped. Parameters: end - Indicates if end of source should be stripped. The stripped source string. |
|
|