org.apache.jcs.engine
Class CacheUtils

java.lang.Object
  extended byorg.apache.jcs.engine.CacheUtils

public class CacheUtils
extends java.lang.Object

Description of the Class

Author:
asmuts

Constructor Summary
private CacheUtils()
          Constructor for the CacheUtils object
 
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
 

Constructor Detail

CacheUtils

private CacheUtils()
Constructor for the CacheUtils object

Method Detail

dup

public static java.io.Serializable dup(java.io.Serializable obj)
                                throws java.io.IOException
Returns a deeply cloned object.

Throws:
java.io.IOException

serialize

public static byte[] serialize(java.io.Serializable obj)
                        throws java.io.IOException
Returns the serialized form of the given object in a byte array.

Throws:
java.io.IOException

deserialize

public static java.io.Serializable deserialize(byte[] buf)
                                        throws java.io.IOException
Returns the object deserialized from the given byte array.

Throws:
java.io.IOException