org.apache.wicket.util.io
Class WicketObjectStreamFactory
java.lang.Object
org.apache.wicket.util.io.WicketObjectStreamFactory
- All Implemented Interfaces:
- IObjectStreamFactory
public class WicketObjectStreamFactory
- extends Object
- implements IObjectStreamFactory
Object stream factory for Wicket's custom serialization.
- Author:
- eelcohillenius
- See Also:
WicketObjectInputStream
,
WicketObjectOutputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WicketObjectStreamFactory
public WicketObjectStreamFactory()
newObjectInputStream
public ObjectInputStream newObjectInputStream(InputStream in)
throws IOException
- Description copied from interface:
IObjectStreamFactory
- Gets a new instance of an
ObjectInputStream
with the provided InputStream
.
- Specified by:
newObjectInputStream
in interface IObjectStreamFactory
- Parameters:
in
- The input stream that should be used for the reading
- Returns:
- a new object input stream instance
- Throws:
IOException
- if an I/O error occurs while reading stream header- See Also:
IObjectStreamFactory.newObjectInputStream(java.io.InputStream)
newObjectOutputStream
public ObjectOutputStream newObjectOutputStream(OutputStream out)
throws IOException
- Description copied from interface:
IObjectStreamFactory
- Gets a new instance of an
ObjectOutputStream
with the provided OutputStream
.
- Specified by:
newObjectOutputStream
in interface IObjectStreamFactory
- Parameters:
out
- The output stream that should be used for the writing
- Returns:
- a new object output stream instance
- Throws:
IOException
- if an I/O error occurs while writing stream header- See Also:
IObjectStreamFactory.newObjectOutputStream(java.io.OutputStream)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.