org.msgpack.util.json
Class JSONBufferPacker

java.lang.Object
  extended by org.msgpack.packer.AbstractPacker
      extended by org.msgpack.util.json.JSONPacker
          extended by org.msgpack.util.json.JSONBufferPacker
All Implemented Interfaces:
Closeable, Flushable, BufferPacker, Packer

public class JSONBufferPacker
extends JSONPacker
implements BufferPacker


Field Summary
 
Fields inherited from class org.msgpack.util.json.JSONPacker
out
 
Fields inherited from class org.msgpack.packer.AbstractPacker
msgpack
 
Constructor Summary
JSONBufferPacker()
           
JSONBufferPacker(int bufferSize)
           
JSONBufferPacker(MessagePack msgpack)
           
JSONBufferPacker(MessagePack msgpack, int bufferSize)
           
 
Method Summary
 void clear()
           
 byte[] toByteArray()
           
 
Methods inherited from class org.msgpack.util.json.JSONPacker
close, flush, reset, writeArrayBegin, writeArrayEnd, writeBigInteger, writeBoolean, writeByte, writeByteArray, writeByteBuffer, writeDouble, writeFloat, writeInt, writeLong, writeMapBegin, writeMapEnd, writeNil, writeShort, writeString
 
Methods inherited from class org.msgpack.packer.AbstractPacker
write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeArrayEnd, writeByteArray, writeMapEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.msgpack.packer.Packer
write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeArrayBegin, writeArrayEnd, writeArrayEnd, writeMapBegin, writeMapEnd, writeMapEnd, writeNil
 
Methods inherited from interface java.io.Closeable
close
 
Methods inherited from interface java.io.Flushable
flush
 

Constructor Detail

JSONBufferPacker

public JSONBufferPacker()

JSONBufferPacker

public JSONBufferPacker(int bufferSize)

JSONBufferPacker

public JSONBufferPacker(MessagePack msgpack)

JSONBufferPacker

public JSONBufferPacker(MessagePack msgpack,
                        int bufferSize)
Method Detail

toByteArray

public byte[] toByteArray()
Specified by:
toByteArray in interface BufferPacker

clear

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


Copyright © 2011. All Rights Reserved.