org.sapia.ubik.rmi
Class Utils
java.lang.Object
org.sapia.ubik.rmi.Utils
public class Utils
- extends java.lang.Object
- Author:
- Yanick Duchesne
- Copyright:
- Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
|
Constructor Summary |
Utils()
|
|
Method Summary |
static java.lang.Object |
deserialize(byte[] bytes)
|
static java.lang.Object |
deserialize(byte[] bytes,
java.lang.ClassLoader loader)
|
static java.lang.Object |
deserialize(byte[] bytes,
java.lang.ClassLoader loader,
java.lang.String codebase)
|
static byte[] |
serialize(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
deserialize
public static java.lang.Object deserialize(byte[] bytes)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
deserialize
public static java.lang.Object deserialize(byte[] bytes,
java.lang.ClassLoader loader)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
deserialize
public static java.lang.Object deserialize(byte[] bytes,
java.lang.ClassLoader loader,
java.lang.String codebase)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
serialize
public static byte[] serialize(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 Sapia OSS. All Rights Reserved.