|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.lang.StringUtils
public final class StringUtils
General strings manipulation.
| Method Summary | |
|---|---|
static String |
normalize(String str)
Normalizes the input string. |
static String |
toString(int i,
int nbDigits)
Returns a string representation of the integer argument as an integer in base 10. |
static String |
toString(long i,
int nbDigits)
Returns a string representation of the long argument as an integer in base 10. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String toString(int i,
int nbDigits)
i - an integer to be converted to a string.nbDigits - the minimum number of digits to display in the resulting string.
Integer.toString(int)
public static String toString(long i,
int nbDigits)
i - a long to be converted to a string.nbDigits - the minimum number of digits to display in the resulting string.
Long.toString(long)public static String normalize(String str)
null, null is returned.trimmed; if the result is empty, null is returned.
str - a string. May be null.String.trim()
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||