|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.util.ObjectUtils
public abstract class ObjectUtils
This is where common Object manipulation routines should go.
| Constructor Summary | |
|---|---|
ObjectUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
deserialize(byte[] objectData)
Deserializes a single object from an array of bytes. |
static byte[] |
serializeHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Converts a hashtable to a byte array for storage/serialization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectUtils()
| Method Detail |
|---|
public static byte[] serializeHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
throws java.lang.Exception
hash - The Hashtable to convert.
java.lang.Exception - A generic exception.public static java.lang.Object deserialize(byte[] objectData)
objectData - The serialized object.
null on failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||