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