public class StringUtil extends Object
| Constructor and Description |
|---|
StringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
escape(String s)
If the given value collides with java reserved words, modify accordingly the value
|
static String |
getFirstCharacterLowered(String buffer) |
static String |
getFirstCharacterUppered(String buffer) |
static String |
getFirstCharacterUppered(StringBuffer buffer) |
static String |
getPlural(String s) |
static String |
getPlural(String s,
boolean doPlural) |
static boolean |
hasLength(String s)
Is the given string not empty ?
|
public static boolean hasLength(String s)
s - the string to checkpublic static String escape(String s)
s - the value to escapepublic static String getFirstCharacterUppered(StringBuffer buffer)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.