public class SerializationUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERIALIZATION_FILE_EXTENSION |
Modifier and Type | Method and Description |
---|---|
void |
deleteSerializedFile(java.lang.String pName,
java.lang.String pDirectory) |
java.io.Serializable |
deserialize(java.lang.String pName,
java.lang.String pDirectory) |
java.io.Serializable |
deserializeEncrypted(java.lang.String pName,
java.lang.String pDirectory,
java.lang.String pPassword) |
static SerializationUtil |
getInstance() |
void |
serialize(java.io.Serializable pObject,
java.lang.String pName,
java.lang.String pDirectory) |
void |
serializeEncrypted(java.io.Serializable pObject,
java.lang.String pName,
java.lang.String pDirectory,
java.lang.String pPassword) |
public static final java.lang.String SERIALIZATION_FILE_EXTENSION
public static SerializationUtil getInstance()
public void serialize(java.io.Serializable pObject, java.lang.String pName, java.lang.String pDirectory) throws java.io.IOException
java.io.IOException
public void serializeEncrypted(java.io.Serializable pObject, java.lang.String pName, java.lang.String pDirectory, java.lang.String pPassword) throws java.io.IOException
java.io.IOException
public java.io.Serializable deserialize(java.lang.String pName, java.lang.String pDirectory) throws java.io.IOException
java.io.IOException
public java.io.Serializable deserializeEncrypted(java.lang.String pName, java.lang.String pDirectory, java.lang.String pPassword) throws java.io.IOException
java.io.IOException
public void deleteSerializedFile(java.lang.String pName, java.lang.String pDirectory)