org.msgpack.unpacker
Interface Unpacker
- All Superinterfaces:
- Closeable, Iterable<Value>
- All Known Subinterfaces:
- BufferUnpacker
- All Known Implementing Classes:
- AbstractUnpacker, Converter, JSONBufferUnpacker, JSONUnpacker, MessagePackBufferUnpacker, MessagePackUnpacker
public interface Unpacker
- extends Iterable<Value>, Closeable
Standard deserializer.
- Version:
- 0.6.0
read
<T> T read(Class<T> klass)
throws IOException
- Throws:
IOException
read
<T> T read(T to)
throws IOException
- Throws:
IOException
read
<T> T read(Template<T> tmpl)
throws IOException
- Throws:
IOException
read
<T> T read(T to,
Template<T> tmpl)
throws IOException
- Throws:
IOException
skip
void skip()
throws IOException
- Throws:
IOException
readArrayBegin
int readArrayBegin()
throws IOException
- Throws:
IOException
readArrayEnd
void readArrayEnd(boolean check)
throws IOException
- Throws:
IOException
readArrayEnd
void readArrayEnd()
throws IOException
- Throws:
IOException
readMapBegin
int readMapBegin()
throws IOException
- Throws:
IOException
readMapEnd
void readMapEnd(boolean check)
throws IOException
- Throws:
IOException
readMapEnd
void readMapEnd()
throws IOException
- Throws:
IOException
readNil
void readNil()
throws IOException
- Throws:
IOException
trySkipNil
boolean trySkipNil()
throws IOException
- Throws:
IOException
readBoolean
boolean readBoolean()
throws IOException
- Throws:
IOException
readByte
byte readByte()
throws IOException
- Throws:
IOException
readShort
short readShort()
throws IOException
- Throws:
IOException
readInt
int readInt()
throws IOException
- Throws:
IOException
readLong
long readLong()
throws IOException
- Throws:
IOException
readBigInteger
BigInteger readBigInteger()
throws IOException
- Throws:
IOException
readFloat
float readFloat()
throws IOException
- Throws:
IOException
readDouble
double readDouble()
throws IOException
- Throws:
IOException
readByteArray
byte[] readByteArray()
throws IOException
- Throws:
IOException
readByteBuffer
ByteBuffer readByteBuffer()
throws IOException
- Throws:
IOException
readString
String readString()
throws IOException
- Throws:
IOException
readValue
Value readValue()
throws IOException
- Throws:
IOException
iterator
UnpackerIterator iterator()
- Specified by:
iterator
in interface Iterable<Value>
Copyright © 2011. All Rights Reserved.