net.sf.crispy.impl.http
Class Serializer

java.lang.Object
  extended bynet.sf.crispy.impl.http.Serializer

public class Serializer
extends java.lang.Object


Constructor Summary
Serializer()
           
 
Method Summary
static java.lang.Object deserialize(byte[] pvBytes)
           
static java.lang.Object deserialize(java.io.InputStream pvInputStream)
           
static byte[] serialize(java.lang.Object pvObject)
           
static void serialize(java.lang.Object pvObject, java.io.OutputStream pvOutputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serializer

public Serializer()
Method Detail

serialize

public static void serialize(java.lang.Object pvObject,
                             java.io.OutputStream pvOutputStream)
                      throws java.io.IOException
Throws:
java.io.IOException

serialize

public static byte[] serialize(java.lang.Object pvObject)
                        throws java.lang.Exception
Throws:
java.lang.Exception

deserialize

public static java.lang.Object deserialize(java.io.InputStream pvInputStream)
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

deserialize

public static java.lang.Object deserialize(byte[] pvBytes)
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 2005-2006 Crispy. All Rights Reserved.