|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.engine.CacheUtils
public final class CacheUtils
This will be superceded by the new pluggable serializer infastructure.
basic utility functions
TODO move to util
| Method Summary | |
|---|---|
static java.io.Serializable |
deserialize(byte[] buf)
Returns the object deserialized from the given byte array. |
static java.io.Serializable |
dup(java.io.Serializable obj)
Returns a deeply cloned object. |
static byte[] |
serialize(java.io.Serializable obj)
Returns the serialized form of the given object in a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.io.Serializable dup(java.io.Serializable obj)
throws java.io.IOException
obj -
java.io.IOException
public static byte[] serialize(java.io.Serializable obj)
throws java.io.IOException
obj -
java.io.IOException
public static java.io.Serializable deserialize(byte[] buf)
throws java.io.IOException
buf -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||