|
||||||||||
| 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
org.joda.beans.ser.bin.MsgPackVisualizer
public final class MsgPackVisualizer
Allows MsgPack data to be visualized.
| Constructor Summary | |
|---|---|
MsgPackVisualizer(byte[] bytes)
Creates an instance. |
|
MsgPackVisualizer(DataInputStream stream)
Creates an instance. |
|
MsgPackVisualizer(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 |
readArrayItem()
|
protected void |
readMapKey()
|
protected void |
readMapValue()
|
void |
visualize()
Visualizes the data in the stream. |
| Methods inherited from class org.joda.beans.ser.bin.MsgPackInput |
|---|
readAll, readObject, skipObject |
| 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 MsgPackVisualizer(byte[] bytes)
bytes - the bytes to read, not nullpublic MsgPackVisualizer(InputStream stream)
stream - the stream to read from, not nullpublic MsgPackVisualizer(DataInputStream stream)
stream - the stream to read from, not null| Method Detail |
|---|
public void visualize()
protected void readArrayItem()
throws IOException
readArrayItem in class MsgPackInputIOException
protected void readMapKey()
throws IOException
readMapKey in class MsgPackInputIOException
protected void readMapValue()
throws IOException
readMapValue in class MsgPackInputIOExceptionprotected void handleObjectStart()
handleObjectStart in class MsgPackInputprotected void handleBoolean(boolean bool)
handleBoolean in class MsgPackInputprotected void handleNil()
handleNil in class MsgPackInputprotected void handleInt(int value)
handleInt in class MsgPackInputprotected void handleUnsignedLong(long value)
handleUnsignedLong in class MsgPackInputprotected void handleSignedLong(long value)
handleSignedLong in class MsgPackInputprotected void handleFloat(float value)
handleFloat in class MsgPackInputprotected void handleDouble(double value)
handleDouble in class MsgPackInputprotected void handleUnknown(byte b)
handleUnknown in class MsgPackInputprotected void handleString(String str)
handleString in class MsgPackInputprotected void handleArrayHeader(int size)
handleArrayHeader in class MsgPackInputprotected void handleMapHeader(int size)
handleMapHeader in class MsgPackInputprotected void handleBinary(byte[] bytes)
handleBinary in class MsgPackInput
protected void handleExtension(int type,
byte[] bytes)
throws IOException
handleExtension in class MsgPackInputIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||