|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUtility
Provides some useful static methods
| Constructor Summary | |
Utility()
|
|
| Method Summary | |
static java.lang.String |
byteArrayToString(byte[] msg)
Convert a byte[] to a string |
static long |
fishTime()
Return System time in microseconds |
static byte[] |
stringToByteArray(java.lang.String msg)
Convert a string to a byte[] |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Utility()
| Method Detail |
public static long fishTime()
public static byte[] stringToByteArray(java.lang.String msg)
msg - The string to convert
public static java.lang.String byteArrayToString(byte[] msg)
msg - The byte[] to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||