org.msgpack.unpacker
Class Converter
java.lang.Object
org.msgpack.unpacker.AbstractUnpacker
org.msgpack.unpacker.Converter
- All Implemented Interfaces:
- Closeable, Iterable<Value>, Unpacker
- Direct Known Subclasses:
- JSONUnpacker
public class Converter
- extends AbstractUnpacker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
protected Value value
Converter
public Converter(Value value)
Converter
public Converter(MessagePack msgpack,
Value value)
nextValue
protected Value nextValue()
throws IOException
- Throws:
IOException
tryReadNil
public boolean tryReadNil()
throws IOException
- Specified by:
tryReadNil
in class AbstractUnpacker
- Throws:
IOException
trySkipNil
public boolean trySkipNil()
throws IOException
- Throws:
IOException
readNil
public void readNil()
throws IOException
- Throws:
IOException
readBoolean
public boolean readBoolean()
throws IOException
- Throws:
IOException
readByte
public byte readByte()
throws IOException
- Throws:
IOException
readShort
public short readShort()
throws IOException
- Throws:
IOException
readInt
public int readInt()
throws IOException
- Throws:
IOException
readLong
public long readLong()
throws IOException
- Throws:
IOException
readBigInteger
public BigInteger readBigInteger()
throws IOException
- Throws:
IOException
readFloat
public float readFloat()
throws IOException
- Throws:
IOException
readDouble
public double readDouble()
throws IOException
- Throws:
IOException
readByteArray
public byte[] readByteArray()
throws IOException
- Throws:
IOException
readString
public String readString()
throws IOException
- Throws:
IOException
readArrayBegin
public int readArrayBegin()
throws IOException
- Throws:
IOException
readArrayEnd
public void readArrayEnd(boolean check)
throws IOException
- Throws:
IOException
readMapBegin
public int readMapBegin()
throws IOException
- Throws:
IOException
readMapEnd
public void readMapEnd(boolean check)
throws IOException
- Throws:
IOException
readValue
public Value readValue()
throws IOException
- Specified by:
readValue
in interface Unpacker
- Overrides:
readValue
in class AbstractUnpacker
- Throws:
IOException
readValue
protected void readValue(Unconverter uc)
throws IOException
- Specified by:
readValue
in class AbstractUnpacker
- Throws:
IOException
skip
public void skip()
throws IOException
- Throws:
IOException
reset
public void reset()
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.