org.msgpack.unpacker
Class AbstractUnpacker
java.lang.Object
  
org.msgpack.unpacker.AbstractUnpacker
- All Implemented Interfaces: 
 - Closeable, Iterable<Value>, Unpacker
 
- Direct Known Subclasses: 
 - Converter, MessagePackUnpacker
 
public abstract class AbstractUnpacker
- extends Object
- implements Unpacker
  
 
 
 
| 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 | 
readArrayBegin, readArrayEnd, readBigInteger, readBoolean, readByte, readByteArray, readDouble, readFloat, readInt, readLong, readMapBegin, readMapEnd, readNil, readShort, readString, skip, trySkipNil | 
 
 
msgpack
protected MessagePack msgpack
AbstractUnpacker
protected AbstractUnpacker(MessagePack msgpack)
readByteBuffer
public ByteBuffer readByteBuffer()
                          throws IOException
- Specified by:
 readByteBuffer in interface Unpacker
 
- Throws:
 IOException
 
readArrayEnd
public void readArrayEnd()
                  throws IOException
- Specified by:
 readArrayEnd in interface Unpacker
 
- Throws:
 IOException
 
readMapEnd
public void readMapEnd()
                throws IOException
- Specified by:
 readMapEnd in interface Unpacker
 
- Throws:
 IOException
 
iterator
public UnpackerIterator iterator()
- Specified by:
 iterator in interface Iterable<Value>- Specified by:
 iterator in interface Unpacker
 
 
readValue
protected abstract void readValue(Unconverter uc)
                           throws IOException
 
- Throws:
 IOException
 
readValue
public Value readValue()
                throws IOException
- Specified by:
 readValue in interface Unpacker
 
- Throws:
 IOException
 
tryReadNil
protected abstract boolean tryReadNil()
                               throws IOException
 
- Throws:
 IOException
 
read
public <T> T read(Class<T> klass)
       throws IOException
- Specified by:
 read in interface Unpacker
 
- Throws:
 IOException
 
read
public <T> T read(T to)
       throws IOException
- Specified by:
 read in interface Unpacker
 
- Throws:
 IOException
 
read
public <T> T read(Template<T> tmpl)
       throws IOException
- Specified by:
 read in interface Unpacker
 
- Throws:
 IOException
 
read
public <T> T read(T to,
                  Template<T> tmpl)
       throws IOException
- Specified by:
 read in interface Unpacker
 
- Throws:
 IOException
 
Copyright © 2011. All Rights Reserved.