|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.strangelight.util.StringUtils
A set of convenience utilities for manipulating Strings.
Method Summary | |
static java.lang.String |
convert_to_Unix(java.lang.String s)
Converts all EOL characters to "\n" , regardless of
the original format. |
static java.lang.String |
hexEncode(byte[] b)
Converts a byte array into a hexidecimal String representation, where each byte is represented by a two-byte String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String convert_to_Unix(java.lang.String s)
"\n"
, regardless of
the original format. (Assumes "\r\n"
is a single
PC-formatted EOL character.)
public static java.lang.String hexEncode(byte[] b)
Converts a byte array into a hexidecimal String representation,
where each byte is represented by a two-byte String. e.g.
would be converted
to "0a1b3c"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |