private static final class SerializationProviderFactory.JavaSerializationProvider extends java.lang.Object implements SerializationProvider
An implementation of SerializationProvider which
uses standard Java serialization.
| Modifier | Constructor and Description |
|---|---|
private |
JavaSerializationProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.io.ObjectInputStream |
createObjectInputStream(java.io.InputStream source)
Creates a new
ObjectInputStream wrapping the specified
source. |
java.io.ObjectOutputStream |
createObjectOutputStream(java.io.OutputStream destination)
Creates a new
ObjectOutputStream wrapping the
specified destination. |
public java.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream destination)
throws java.io.IOException
Creates a new ObjectOutputStream wrapping the
specified destination.
createObjectOutputStream in interface SerializationProviderdestination - the destination of the serialized Object(s)ObjectOutputStreamjava.io.IOException - if an error occurs when creating the output streampublic java.io.ObjectInputStream createObjectInputStream(java.io.InputStream source)
throws java.io.IOException
Creates a new ObjectInputStream wrapping the specified
source.
createObjectInputStream in interface SerializationProvidersource - the source stream from which to read the Object(s)
fromObjectInputStreamjava.io.IOException - if an error occurs when creating the input streamCopyright ? 2002-2013 Oracle America, Inc. All Rights Reserved.