wt.pds
Class PDSEncoder.EncodeObjectOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.ObjectOutputStream
          extended bywt.util.WTObjectOutputStream
              extended bywt.pds.PDSEncoder.EncodeObjectOutputStream
All Implemented Interfaces:
DataOutput, ObjectOutput, ObjectStreamConstants, PDSObjectOutput
Enclosing class:
PDSEncoder

static class PDSEncoder.EncodeObjectOutputStream
extends WTObjectOutputStream
implements PDSObjectOutput


Nested Class Summary
 
Nested classes inherited from class java.io.ObjectOutputStream
ObjectOutputStream.PutField
 
Field Summary
private static int EXCEPTION
           
private static int NONE
           
private static int NOT_EVOLVABLE_ACTION
           
private  PDSEncoder.OutputRedirector redirector
           
private static int TRACEBACK
           
private static int WARNING
           
 
Fields inherited from class wt.util.WTObjectOutputStream
 
Fields inherited from class java.io.ObjectOutputStream
 
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
 
Constructor Summary
private PDSEncoder.EncodeObjectOutputStream(PDSEncoder.OutputRedirector redirector)
           
 
Method Summary
 void close()
           
(package private) static PDSEncoder.EncodeObjectOutputStream newInstance(OutputStream out)
           
(package private) static PDSEncoder.EncodeObjectOutputStream newInstance(StringBuffer buf)
           
protected  Object replaceObject(Object obj)
           
(package private)  void setOutput(OutputStream out)
           
(package private)  void setOutput(StringBuffer buf)
           
 
Methods inherited from class java.io.ObjectOutputStream
annotateClass, annotateProxyClass, defaultWriteObject, drain, enableReplaceObject, flush, putFields, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.ObjectOutput
flush, write, write, write, writeObject
 
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Field Detail

NOT_EVOLVABLE_ACTION

private static int NOT_EVOLVABLE_ACTION

NONE

private static final int NONE
See Also:
Constant Field Values

WARNING

private static final int WARNING
See Also:
Constant Field Values

TRACEBACK

private static final int TRACEBACK
See Also:
Constant Field Values

EXCEPTION

private static final int EXCEPTION
See Also:
Constant Field Values

redirector

private PDSEncoder.OutputRedirector redirector
Constructor Detail

PDSEncoder.EncodeObjectOutputStream

private PDSEncoder.EncodeObjectOutputStream(PDSEncoder.OutputRedirector redirector)
                                     throws IOException
Method Detail

replaceObject

protected Object replaceObject(Object obj)
                        throws IOException
Throws:
IOException

newInstance

static PDSEncoder.EncodeObjectOutputStream newInstance(StringBuffer buf)
                                                throws IOException
Throws:
IOException

newInstance

static PDSEncoder.EncodeObjectOutputStream newInstance(OutputStream out)
                                                throws IOException
Throws:
IOException

setOutput

void setOutput(StringBuffer buf)
         throws IOException
Throws:
IOException

setOutput

void setOutput(OutputStream out)
         throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface ObjectOutput
Throws:
IOException