|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.irmi.ObjectOutputList
ObjectOutputList implements the ObjectOutput
interface, but
rather than serializing objects to an OutputStream
,
this implementation appends to a list. This class is used in
concert with ObjectInputList
in order to provide support
for the deprecated RemoteCall
interface
required by early versions of RMI.
Constructor Summary | |
ObjectOutputList(java.util.List list)
Constructs a new ObjectOutputList that appends its
output to the given list. |
Method Summary | |
void |
close()
|
void |
flush()
|
void |
write(byte[] b)
UNSUPPORTED |
void |
write(byte[] b,
int off,
int len)
UNSUPPORTED |
void |
write(int b)
UNSUPPORTED |
void |
writeBoolean(boolean b)
|
void |
writeByte(int b)
|
void |
writeBytes(java.lang.String str)
|
void |
writeChar(int c)
|
void |
writeChars(java.lang.String str)
|
void |
writeDouble(double d)
|
void |
writeFloat(float f)
|
void |
writeInt(int i)
|
void |
writeLong(long l)
|
void |
writeObject(java.lang.Object obj)
|
void |
writeShort(int s)
|
void |
writeUTF(java.lang.String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectOutputList(java.util.List list)
ObjectOutputList
that appends its
output to the given list.
list
- the list to use for outputMethod Detail |
public void writeObject(java.lang.Object obj)
writeObject
in interface java.io.ObjectOutput
public void writeUTF(java.lang.String str)
writeUTF
in interface java.io.DataOutput
public void writeChars(java.lang.String str)
writeChars
in interface java.io.DataOutput
public void writeBytes(java.lang.String str)
writeBytes
in interface java.io.DataOutput
public void writeBoolean(boolean b)
writeBoolean
in interface java.io.DataOutput
public void writeLong(long l)
writeLong
in interface java.io.DataOutput
public void writeShort(int s)
writeShort
in interface java.io.DataOutput
public void writeInt(int i)
writeInt
in interface java.io.DataOutput
public void writeChar(int c)
writeChar
in interface java.io.DataOutput
public void writeByte(int b)
writeByte
in interface java.io.DataOutput
public void writeFloat(float f)
writeFloat
in interface java.io.DataOutput
public void writeDouble(double d)
writeDouble
in interface java.io.DataOutput
public void write(byte[] b, int off, int len)
write
in interface java.io.ObjectOutput
java.lang.UnsupportedOperationException
public void write(byte[] b)
write
in interface java.io.ObjectOutput
java.lang.UnsupportedOperationException
public void write(int b)
write
in interface java.io.ObjectOutput
java.lang.UnsupportedOperationException
public void flush()
flush
in interface java.io.ObjectOutput
public void close()
close
in interface java.io.ObjectOutput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |