|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.carol.irmi.ObjectInputList
public class ObjectInputList
ObjectInputList implements the ObjectInput interface, but
rather than deserializing objects from an InputStream, this implementation reads objects from a list
created using ObjectOutputList. This class is used in
concert with ObjectOutputList in order to provide support
for the deprecated RemoteCall interface
required by early versions of RMI.
| Constructor Summary | |
|---|---|
ObjectInputList(List list)
Creates a new ObjectInputList instance that reads from
the given List. |
|
| Method Summary | |
|---|---|
int |
available()
UNSUPPORTED |
void |
close()
|
int |
read()
UNSUPPORTED |
int |
read(byte[] b)
UNSUPPORTED |
int |
read(byte[] b,
int off,
int len)
UNSUPPORTED |
boolean |
readBoolean()
|
byte |
readByte()
|
char |
readChar()
|
double |
readDouble()
|
float |
readFloat()
|
void |
readFully(byte[] b)
UNSUPPORTED |
void |
readFully(byte[] b,
int off,
int len)
UNSUPPORTED |
int |
readInt()
|
String |
readLine()
|
long |
readLong()
|
Object |
readObject()
|
short |
readShort()
|
int |
readUnsignedByte()
|
int |
readUnsignedShort()
|
String |
readUTF()
|
long |
skip(long b)
UNSUPPORTED |
int |
skipBytes(int b)
UNSUPPORTED |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectInputList(List list)
ObjectInputList instance that reads from
the given List. This list should have been generated
using ObjectOutputList.
list - the list to use for input| Method Detail |
|---|
public Object readObject()
readObject in interface ObjectInputpublic String readUTF()
readUTF in interface DataInputpublic String readLine()
readLine in interface DataInputpublic boolean readBoolean()
readBoolean in interface DataInputpublic short readShort()
readShort in interface DataInputpublic long readLong()
readLong in interface DataInputpublic int readUnsignedShort()
readUnsignedShort in interface DataInputpublic int readUnsignedByte()
readUnsignedByte in interface DataInputpublic int readInt()
readInt in interface DataInputpublic float readFloat()
readFloat in interface DataInputpublic double readDouble()
readDouble in interface DataInputpublic char readChar()
readChar in interface DataInputpublic byte readByte()
readByte in interface DataInputpublic int available()
available in interface ObjectInputUnsupportedOperationException
public void readFully(byte[] b,
int off,
int len)
readFully in interface DataInputUnsupportedOperationExceptionpublic void readFully(byte[] b)
readFully in interface DataInputUnsupportedOperationException
public int read(byte[] b,
int off,
int len)
read in interface ObjectInputUnsupportedOperationExceptionpublic int read(byte[] b)
read in interface ObjectInputUnsupportedOperationExceptionpublic int read()
read in interface ObjectInputUnsupportedOperationExceptionpublic long skip(long b)
skip in interface ObjectInputUnsupportedOperationExceptionpublic int skipBytes(int b)
skipBytes in interface DataInputUnsupportedOperationExceptionpublic void close()
close in interface ObjectInput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||