public class XstreamObjectStreamBuilder extends Object implements JPPFObjectStreamBuilder
| Constructor and Description |
|---|
XstreamObjectStreamBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ObjectInputStream |
newObjectInputStream(InputStream in)
Obtain an input stream used for deserializing objects.
|
ObjectOutputStream |
newObjectOutputStream(OutputStream out)
Obtain an Output stream used for serializing objects.
|
public ObjectInputStream newObjectInputStream(InputStream in) throws Exception
newObjectInputStream in interface JPPFObjectStreamBuilderin - input stream to read from.ObjectInputStreamException - if an error is raised while creating the stream.JPPFObjectStreamBuilder.newObjectInputStream(java.io.InputStream)public ObjectOutputStream newObjectOutputStream(OutputStream out) throws Exception
newObjectOutputStream in interface JPPFObjectStreamBuilderout - output stream to write to.ObjectOutputStreamException - if an error is raised while creating the stream.JPPFObjectStreamBuilder.newObjectOutputStream(java.io.OutputStream)Copyright © 2005-2012 JPPF Team.