|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.SerializeUtil
public final class SerializeUtil
Contains utility methods for Java serialization.
| Method Summary | |
|---|---|
static Serializable |
deserialize(byte[] serializedObject)
Deserializes the specified byte array into an serializable object. |
static Serializable |
deserializeFromString(String serializedObject)
Deserializes the specified string into an serializable object. |
static byte[] |
serialize(Serializable toSerialize)
Serializes the specified object into an byte array (by using the serialization mechanism of Java). |
static String |
serializeToString(Serializable toSerialize)
Serializes the specified object into an byte array (by using the serialization mechanism of Java) and returns the string representation of the byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] serialize(Serializable toSerialize)
toSerialize - the object the serialize.
public static Serializable deserialize(byte[] serializedObject)
serializedObject - byte array of the serialized object
public static String serializeToString(Serializable toSerialize)
toSerialize - the object the serialize.
public static Serializable deserializeFromString(String serializedObject)
serializedObject - string representation of the serialized object (byte array)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||