|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joda.beans.ser.bin.MsgPack
org.joda.beans.ser.bin.MsgPackInput
public abstract class MsgPackInput
Receives and processes MsgPack data.
| Constructor Summary | |
|---|---|
MsgPackInput(byte[] bytes)
Creates an instance. |
|
MsgPackInput(DataInputStream stream)
Creates an instance. |
|
MsgPackInput(InputStream stream)
Creates an instance. |
|
| Method Summary | |
|---|---|
protected void |
handleArrayHeader(int size)
|
protected void |
handleBinary(byte[] bytes)
|
protected void |
handleBoolean(boolean bool)
|
protected void |
handleDouble(double value)
|
protected void |
handleExtension(int type,
byte[] bytes)
|
protected void |
handleFloat(float value)
|
protected void |
handleInt(int value)
|
protected void |
handleMapHeader(int size)
|
protected void |
handleNil()
|
protected void |
handleObjectStart()
|
protected void |
handleSignedLong(long value)
|
protected void |
handleString(String str)
|
protected void |
handleUnknown(byte b)
|
protected void |
handleUnsignedLong(long value)
|
protected void |
readAll()
Reads all the data in the stream, closing the stream. |
protected void |
readArrayItem()
|
protected void |
readMapKey()
|
protected void |
readMapValue()
|
protected void |
readObject(int unsigned)
|
static void |
skipObject(DataInputStream input)
Skips over the next object in an input stream. |
| Methods inherited from class org.joda.beans.ser.bin.MsgPack |
|---|
isArray, isIntegral, isMap, isString, toHex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MsgPackInput(byte[] bytes)
bytes - the bytes to read, not nullpublic MsgPackInput(InputStream stream)
stream - the stream to read from, not nullpublic MsgPackInput(DataInputStream stream)
stream - the stream to read from, not null| Method Detail |
|---|
protected void readAll()
protected void readObject(int unsigned)
throws IOException
IOException
protected void readArrayItem()
throws IOException
IOException
protected void readMapKey()
throws IOException
IOException
protected void readMapValue()
throws IOException
IOExceptionprotected void handleObjectStart()
protected void handleBoolean(boolean bool)
protected void handleNil()
protected void handleInt(int value)
protected void handleUnsignedLong(long value)
protected void handleSignedLong(long value)
protected void handleFloat(float value)
protected void handleDouble(double value)
protected void handleUnknown(byte b)
protected void handleString(String str)
protected void handleArrayHeader(int size)
protected void handleMapHeader(int size)
protected void handleBinary(byte[] bytes)
throws IOException
IOException
protected void handleExtension(int type,
byte[] bytes)
throws IOException
IOException
public static void skipObject(DataInputStream input)
throws IOException
input - the input stream, not null
IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||