|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.common.SerializationUtils
Utilities for serializing and deserializing objects.
| Constructor Summary | |
SerializationUtils()
Deprecated. |
|
| Method Summary | |
static Object |
getObjectFromData(byte[] byte_data)
Deprecated. |
static Object |
getObjectFromData(byte[] byte_data,
ClassLoader classLoader)
Deprecated. |
static Object |
getObjectFromPath(String filePath)
Deprecated. Given full path to .ser file, read and return the object |
static byte[] |
getSerializedObjectData(Object object)
Deprecated. |
static void |
writeObjectToPath(Serializable object,
String filePath)
Deprecated. Given a serializable object and a full file path, write the object out to the path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SerializationUtils()
| Method Detail |
public static byte[] getSerializedObjectData(Object object)
public static Object getObjectFromData(byte[] byte_data)
public static Object getObjectFromData(byte[] byte_data,
ClassLoader classLoader)
public static Object getObjectFromPath(String filePath)
throws FileNotFoundException
path - to serialization file
public static void writeObjectToPath(Serializable object,
String filePath)
throws IOException
object - to serializefile - path
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||