|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.ei.txnhandler.hostcache.Util
com.bankframe.serives.cache package instead
public class Util
This class provides common hex manipulation methods.
| Constructor Summary | |
|---|---|
Util()
Deprecated. |
|
| Method Summary | |
|---|---|
static byte[] |
toBytes(String hexString)
Deprecated. This method converts a hexidecimal string into a byte array. |
static String |
toHexString(InputStream in)
Deprecated. This method takes a binary input stream and converts it to a hexidecimal string. |
static Serializable |
toSerializableFromHex(String hexString)
Deprecated. This method converts a hexidecimal string into a Serializable object, if possible. |
static InputStream |
toSerializedInputStream(Serializable ser)
Deprecated. This method transforms the argument into a serialized InputStream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static byte[] toBytes(String hexString)
hexString - The string to convert.
public static String toHexString(InputStream in)
throws IOException
in - The input stream to convert.
IOException - If there was an IO Exception.
public static Serializable toSerializableFromHex(String hexString)
throws IOException,
ClassNotFoundException
hexString - The string to convert.
IOException - If there was an IO exception in converting the string.
ClassNotFoundException - If the class represented by the string could not be found by the current JVM's class loader.
public static InputStream toSerializedInputStream(Serializable ser)
throws IOException
ser - The object to be serialized.
IOException - If an IOException occurred during serialization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||