public class MethodArgumentReader
extends java.lang.Object
Method
arguments from a
DataInputStream. Methods on this object are usually called from
generated code.Constructor and Description |
---|
MethodArgumentReader(ValueReader in)
Construct a MethodArgumentReader from the given
ValueReader . |
Modifier and Type | Method and Description |
---|---|
boolean |
readBit()
Public API - reads a bit/boolean argument.
|
int |
readLong()
Public API - reads an integer argument.
|
long |
readLonglong()
Public API - reads a long integer argument.
|
LongString |
readLongstr()
Public API - reads a long string argument.
|
int |
readOctet()
Public API - reads an octet argument.
|
int |
readShort()
Public API - reads a short integer argument.
|
java.lang.String |
readShortstr()
Public API - reads a short string argument.
|
java.util.Map<java.lang.String,java.lang.Object> |
readTable()
Public API - reads a table argument.
|
java.util.Date |
readTimestamp()
Public API - reads an timestamp argument.
|
public MethodArgumentReader(ValueReader in)
ValueReader
.public final java.lang.String readShortstr() throws java.io.IOException
java.io.IOException
public final LongString readLongstr() throws java.io.IOException
java.io.IOException
public final int readShort() throws java.io.IOException
java.io.IOException
public final int readLong() throws java.io.IOException
java.io.IOException
public final long readLonglong() throws java.io.IOException
java.io.IOException
public final boolean readBit() throws java.io.IOException
java.io.IOException
public final java.util.Map<java.lang.String,java.lang.Object> readTable() throws java.io.IOException
java.io.IOException
public final int readOctet() throws java.io.IOException
java.io.IOException
public final java.util.Date readTimestamp() throws java.io.IOException
java.io.IOException