|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.enderak.procol.common.util.ProColUtils
Some misc utility functions used by ProCol
Constructor Summary | |
ProColUtils()
|
Method Summary | |
static java.util.Vector |
dataStringToVector(byte[] dataIn)
Converts a byte array representing a String into a vector, split based on newlines |
static byte[] |
intToByteArray(int intIn)
Breaks an int down into a array of bytes |
static java.lang.String |
vectorToString(java.util.Vector vectorIn)
Converts a vector into a newline-delimited String list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProColUtils()
Method Detail |
public static java.util.Vector dataStringToVector(byte[] dataIn)
dataIn
- The byte array
public static java.lang.String vectorToString(java.util.Vector vectorIn)
vectorIn
- The vector to convert
public static byte[] intToByteArray(int intIn)
intIn
- The int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |