|
||||||||||
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(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(String str)
|
void |
writeChar(int c)
|
void |
writeChars(String str)
|
void |
writeDouble(double d)
|
void |
writeFloat(float f)
|
void |
writeInt(int i)
|
void |
writeLong(long l)
|
void |
writeObject(Object obj)
|
void |
writeShort(int s)
|
void |
writeUTF(String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectOutputList(List list)
ObjectOutputList
that appends its
output to the given list.
list
- the list to use for outputMethod Detail |
public void writeObject(Object obj)
writeObject
in interface ObjectOutput
public void writeUTF(String str)
writeUTF
in interface DataOutput
public void writeChars(String str)
writeChars
in interface DataOutput
public void writeBytes(String str)
writeBytes
in interface DataOutput
public void writeBoolean(boolean b)
writeBoolean
in interface DataOutput
public void writeLong(long l)
writeLong
in interface DataOutput
public void writeShort(int s)
writeShort
in interface DataOutput
public void writeInt(int i)
writeInt
in interface DataOutput
public void writeChar(int c)
writeChar
in interface DataOutput
public void writeByte(int b)
writeByte
in interface DataOutput
public void writeFloat(float f)
writeFloat
in interface DataOutput
public void writeDouble(double d)
writeDouble
in interface DataOutput
public void write(byte[] b, int off, int len)
write
in interface ObjectOutput
UnsupportedOperationException
public void write(byte[] b)
write
in interface ObjectOutput
UnsupportedOperationException
public void write(int b)
write
in interface ObjectOutput
UnsupportedOperationException
public void flush()
flush
in interface ObjectOutput
public void close()
close
in interface ObjectOutput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |