org.exoplatform.services.portletcontainer.helper
Class IOUtil

java.lang.Object
  extended by org.exoplatform.services.portletcontainer.helper.IOUtil
Direct Known Subclasses:
EventUtil

public class IOUtil
extends Object

Created by The eXo Platform SAS .

Version:
$Id: $ Aug 29, 2008
Author:
Alexey Zavizionov

Constructor Summary
IOUtil()
           
 
Method Summary
static Object deserialize(byte[] bytes)
           
static Object[] deserializeAll(byte[] bytes, int count)
           
static Object deserializeMore(byte[] bytes, int index)
           
static byte[] serialize(Object... obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtil

public IOUtil()
Method Detail

serialize

public static byte[] serialize(Object... obj)
                        throws Exception
Throws:
Exception

deserialize

public static Object deserialize(byte[] bytes)
                          throws Exception
Throws:
Exception

deserializeAll

public static Object[] deserializeAll(byte[] bytes,
                                      int count)
                               throws Exception
Throws:
Exception

deserializeMore

public static Object deserializeMore(byte[] bytes,
                                     int index)
                              throws Exception
Throws:
Exception


Copyright © 2009 eXo Platform SAS. All Rights Reserved.