|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.ObjectOutputStream org.lightwolf.tools.DebuggingObjectOutputStream
public class DebuggingObjectOutputStream
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.io.ObjectOutputStream |
---|
ObjectOutputStream.PutField |
Field Summary |
---|
Constructor Summary | |
---|---|
DebuggingObjectOutputStream(OutputStream out)
|
Method Summary | |
---|---|
List<Object> |
getStack()
Returns the path to the last object serialized. |
protected Object |
replaceObject(Object o)
Abuse replaceObject() as a hook to maintain our stack. |
Methods inherited from class java.io.ObjectOutputStream |
---|
annotateClass, annotateProxyClass, close, 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 |
Constructor Detail |
---|
public DebuggingObjectOutputStream(OutputStream out) throws IOException
IOException
Method Detail |
---|
protected Object replaceObject(Object o)
replaceObject()
as a hook to maintain our stack.
replaceObject
in class ObjectOutputStream
public List<Object> getStack()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |