com.sun.ejb.base.io
Class JavaEEIOUtilsImpl
java.lang.Object
com.sun.ejb.base.io.JavaEEIOUtilsImpl
- All Implemented Interfaces:
- JavaEEIOUtils
@Service
public class JavaEEIOUtilsImpl
- extends Object
- implements JavaEEIOUtils
Simple wrapper to IOUtils
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaEEIOUtilsImpl
public JavaEEIOUtilsImpl()
createObjectInputStream
public ObjectInputStream createObjectInputStream(InputStream is,
boolean resolveObject,
ClassLoader loader)
throws Exception
- Specified by:
createObjectInputStream in interface JavaEEIOUtils
- Throws:
Exception
createObjectOutputStream
public ObjectOutputStream createObjectOutputStream(OutputStream os,
boolean replaceObject)
throws IOException
- Specified by:
createObjectOutputStream in interface JavaEEIOUtils
- Throws:
IOException
serializeObject
public byte[] serializeObject(Object obj,
boolean replaceObject)
throws IOException
- Specified by:
serializeObject in interface JavaEEIOUtils
- Throws:
IOException
deserializeObject
public Object deserializeObject(byte[] data,
boolean resolveObject,
ClassLoader appClassLoader)
throws Exception
- Specified by:
deserializeObject in interface JavaEEIOUtils
- Throws:
Exception
Copyright © 2012 GlassFish Community. All Rights Reserved.