|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.ObjectOutputStream
org.jboss.serial.io.JBossObjectOutputStream
Nested Class Summary |
Nested classes inherited from class java.io.ObjectOutputStream |
java.io.ObjectOutputStream.PutField |
Field Summary |
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 | |
JBossObjectOutputStream(java.io.OutputStream output)
Creates an OutputStream, that by default doesn't require |
|
JBossObjectOutputStream(java.io.OutputStream output,
boolean checkSerializableClass)
|
Method Summary | |
void |
close()
|
void |
defaultWriteObject()
|
void |
flush()
Flushes the stream. |
void |
reset()
|
java.lang.Object |
smartClone(java.lang.Object obj)
Reuses every primitive value to recreate another object. |
java.lang.Object |
smartClone(java.lang.Object obj,
SafeCloningRepository safeToReuse)
Reuses every primitive value to recreate another object. |
java.lang.Object |
smartClone(java.lang.Object obj,
SafeCloningRepository safeToReuse,
java.lang.ClassLoader loader)
Reuses every primitive value to recreate another object. |
void |
write(byte[] buf)
Writes an array of bytes. |
void |
write(byte[] buf,
int off,
int len)
|
void |
write(int val)
Writes a byte. |
void |
writeBoolean(boolean val)
|
void |
writeByte(int val)
|
void |
writeBytes(java.lang.String str)
|
void |
writeChar(int val)
|
void |
writeChars(java.lang.String str)
|
void |
writeDouble(double val)
|
void |
writeFields()
|
void |
writeFloat(float val)
|
void |
writeInt(int val)
|
void |
writeLong(long val)
|
void |
writeObjectDirect(java.lang.Object obj)
|
void |
writeShort(int val)
|
void |
writeUnshared(java.lang.Object obj)
|
void |
writeUTF(java.lang.String str)
|
Methods inherited from class java.io.ObjectOutputStream |
putFields, useProtocolVersion, writeObject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JBossObjectOutputStream(java.io.OutputStream output) throws java.io.IOException
public JBossObjectOutputStream(java.io.OutputStream output, boolean checkSerializableClass) throws java.io.IOException
Method Detail |
public void writeObjectDirect(java.lang.Object obj) throws java.io.IOException
java.io.IOException
public void writeUnshared(java.lang.Object obj) throws java.io.IOException
java.io.IOException
public void defaultWriteObject() throws java.io.IOException
java.io.IOException
public void writeFields() throws java.io.IOException
java.io.IOException
public void reset() throws java.io.IOException
java.io.IOException
public void write(int val) throws java.io.IOException
val
- the byte to be written to the stream
java.io.IOException
- If an I/O error has occurred.public void write(byte[] buf) throws java.io.IOException
buf
- the data to be written
java.io.IOException
- If an I/O error has occurred.public void write(byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
- If an I/O error has occurred.public void close() throws java.io.IOException
java.io.IOException
public void writeBoolean(boolean val) throws java.io.IOException
java.io.IOException
public void writeByte(int val) throws java.io.IOException
java.io.IOException
public void writeShort(int val) throws java.io.IOException
java.io.IOException
public void writeChar(int val) throws java.io.IOException
java.io.IOException
public void writeInt(int val) throws java.io.IOException
java.io.IOException
public void writeLong(long val) throws java.io.IOException
java.io.IOException
public void writeFloat(float val) throws java.io.IOException
java.io.IOException
public void writeDouble(double val) throws java.io.IOException
java.io.IOException
public void writeBytes(java.lang.String str) throws java.io.IOException
java.io.IOException
public void writeChars(java.lang.String str) throws java.io.IOException
java.io.IOException
public void writeUTF(java.lang.String str) throws java.io.IOException
java.io.IOException
public java.lang.Object smartClone(java.lang.Object obj) throws java.io.IOException
java.io.IOException
public java.lang.Object smartClone(java.lang.Object obj, SafeCloningRepository safeToReuse) throws java.io.IOException
java.io.IOException
public java.lang.Object smartClone(java.lang.Object obj, SafeCloningRepository safeToReuse, java.lang.ClassLoader loader) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |