|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.serialization.JPPFConfigurationObjectStreamBuilder
public class JPPFConfigurationObjectStreamBuilder
Standard object stream factory.
This factory creates instances of ObjectInputStream
and ObjectOutputStream
| Constructor Summary | |
|---|---|
JPPFConfigurationObjectStreamBuilder()
Initialize this builder with the default ObjectInputStream and ObjectOutputStream classes of the JDK. |
|
JPPFConfigurationObjectStreamBuilder(Class<?> oisClass,
Class<?> oosClass)
Initialize this builder with the specified object input and output stream classes. |
|
JPPFConfigurationObjectStreamBuilder(String oisClassName,
String oosClassName)
Initialize this builder with the specified object input and output stream classes. |
|
| Method Summary | |
|---|---|
ObjectInputStream |
newObjectInputStream(InputStream in)
Obtain an input stream used for deserializing objects. |
ObjectOutputStream |
newObjectOutputStream(OutputStream out)
Obtain an Output stream used for serializing objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFConfigurationObjectStreamBuilder()
throws Exception
ObjectInputStream and ObjectOutputStream classes of the JDK.
Exception - if an error is raised while initializing.
public JPPFConfigurationObjectStreamBuilder(Class<?> oisClass,
Class<?> oosClass)
throws Exception
oisClass - the object input stream class to use.oosClass - the object output stream class to use.
Exception - if an error is raised while initializing.
public JPPFConfigurationObjectStreamBuilder(String oisClassName,
String oosClassName)
throws Exception
oisClassName - the fully qualified name of the object input stream class to use.oosClassName - the fully qualified name of the object output stream class to use.
Exception - if an error is raised while initializing.| Method Detail |
|---|
public ObjectInputStream newObjectInputStream(InputStream in)
throws Exception
newObjectInputStream in interface JPPFObjectStreamBuilderin - input stream to read from.
ObjectInputStream
Exception - 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.
ObjectOutputStream
Exception - if an error is raised while creating the stream.JPPFObjectStreamBuilder.newObjectOutputStream(java.io.OutputStream)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||