org.bson
Class LazyBSONDecoder
java.lang.Object
org.bson.LazyBSONDecoder
- All Implemented Interfaces:
- BSONDecoder
- Direct Known Subclasses:
- LazyDBDecoder
public class LazyBSONDecoder
- extends Object
- implements BSONDecoder
implementation of BSONDecoder that creates LazyBSONObject instances
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyBSONDecoder
public LazyBSONDecoder()
readObject
public BSONObject readObject(byte[] b)
- Specified by:
readObject
in interface BSONDecoder
readObject
public BSONObject readObject(InputStream in)
throws IOException
- Specified by:
readObject
in interface BSONDecoder
- Throws:
IOException
decode
public int decode(byte[] b,
BSONCallback callback)
- Specified by:
decode
in interface BSONDecoder
decode
public int decode(InputStream in,
BSONCallback callback)
throws IOException
- Specified by:
decode
in interface BSONDecoder
- Throws:
IOException