org.msgpack.util.json
Class JSONBufferUnpacker

java.lang.Object
  extended by org.msgpack.unpacker.AbstractUnpacker
      extended by org.msgpack.unpacker.Converter
          extended by org.msgpack.util.json.JSONUnpacker
              extended by org.msgpack.util.json.JSONBufferUnpacker
All Implemented Interfaces:
Closeable, Iterable<Value>, BufferUnpacker, Unpacker

public class JSONBufferUnpacker
extends JSONUnpacker
implements BufferUnpacker


Field Summary
 
Fields inherited from class org.msgpack.util.json.JSONUnpacker
in
 
Fields inherited from class org.msgpack.unpacker.Converter
value
 
Fields inherited from class org.msgpack.unpacker.AbstractUnpacker
msgpack
 
Constructor Summary
JSONBufferUnpacker()
           
JSONBufferUnpacker(int bufferSize)
           
JSONBufferUnpacker(MessagePack msgpack)
           
JSONBufferUnpacker(MessagePack msgpack, int bufferSize)
           
 
Method Summary
 void clear()
           
 JSONBufferUnpacker feed(byte[] b)
           
 JSONBufferUnpacker feed(byte[] b, boolean nocopy)
           
 JSONBufferUnpacker feed(byte[] b, int off, int len)
           
 JSONBufferUnpacker feed(byte[] b, int off, int len, boolean nocopy)
           
 JSONBufferUnpacker feed(ByteBuffer buf)
           
 JSONBufferUnpacker feed(ByteBuffer buf, boolean nocopy)
           
 JSONBufferUnpacker wrap(byte[] b)
           
 JSONBufferUnpacker wrap(byte[] b, int off, int len)
           
 JSONBufferUnpacker wrap(ByteBuffer buf)
           
 
Methods inherited from class org.msgpack.util.json.JSONUnpacker
close, nextValue
 
Methods inherited from class org.msgpack.unpacker.Converter
readArrayBegin, readArrayEnd, readBigInteger, readBoolean, readByte, readByteArray, readDouble, readFloat, readInt, readLong, readMapBegin, readMapEnd, readNil, readShort, readString, readValue, readValue, reset, skip, tryReadNil, trySkipNil
 
Methods inherited from class org.msgpack.unpacker.AbstractUnpacker
iterator, read, read, read, read, readArrayEnd, readByteBuffer, readMapEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.msgpack.unpacker.Unpacker
iterator, read, read, read, read, readArrayBegin, readArrayEnd, readArrayEnd, readBigInteger, readBoolean, readByte, readByteArray, readByteBuffer, readDouble, readFloat, readInt, readLong, readMapBegin, readMapEnd, readMapEnd, readNil, readShort, readString, readValue, skip, trySkipNil
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

JSONBufferUnpacker

public JSONBufferUnpacker()

JSONBufferUnpacker

public JSONBufferUnpacker(int bufferSize)

JSONBufferUnpacker

public JSONBufferUnpacker(MessagePack msgpack)

JSONBufferUnpacker

public JSONBufferUnpacker(MessagePack msgpack,
                          int bufferSize)
Method Detail

wrap

public JSONBufferUnpacker wrap(byte[] b)
Specified by:
wrap in interface BufferUnpacker

wrap

public JSONBufferUnpacker wrap(byte[] b,
                               int off,
                               int len)
Specified by:
wrap in interface BufferUnpacker

wrap

public JSONBufferUnpacker wrap(ByteBuffer buf)
Specified by:
wrap in interface BufferUnpacker

feed

public JSONBufferUnpacker feed(byte[] b)
Specified by:
feed in interface BufferUnpacker

feed

public JSONBufferUnpacker feed(byte[] b,
                               boolean nocopy)
Specified by:
feed in interface BufferUnpacker

feed

public JSONBufferUnpacker feed(byte[] b,
                               int off,
                               int len)
Specified by:
feed in interface BufferUnpacker

feed

public JSONBufferUnpacker feed(byte[] b,
                               int off,
                               int len,
                               boolean nocopy)
Specified by:
feed in interface BufferUnpacker

feed

public JSONBufferUnpacker feed(ByteBuffer buf)
Specified by:
feed in interface BufferUnpacker

feed

public JSONBufferUnpacker feed(ByteBuffer buf,
                               boolean nocopy)
Specified by:
feed in interface BufferUnpacker

clear

public void clear()
Specified by:
clear in interface BufferUnpacker


Copyright © 2011. All Rights Reserved.