|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.util.StringUtils
Provides utility methods for handling Strings.
Field Summary | |
protected static java.lang.String[] |
zeros
Array of zeros for padding numbers. |
Constructor Summary | |
StringUtils()
|
Method Summary | |
static java.lang.String |
toHexString(int i)
Converts the given integer to a four-digit, hexadecimal string, padding with zeros as needed. |
static java.lang.String[] |
tokenize(java.lang.String input)
Take the given string and chop it up into a series of strings on whitespace boundries. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.lang.String[] zeros
Constructor Detail |
public StringUtils()
Method Detail |
public static java.lang.String toHexString(int i)
i
- integer to convert.public static java.lang.String[] tokenize(java.lang.String input)
input
- string to be split apart.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |