com.mongodb
Class LazyDBDecoder

java.lang.Object
  extended by org.bson.LazyBSONDecoder
      extended by com.mongodb.LazyDBDecoder
All Implemented Interfaces:
DBDecoder, BSONDecoder
Direct Known Subclasses:
LazyWriteableDBDecoder

public class LazyDBDecoder
extends LazyBSONDecoder
implements DBDecoder


Field Summary
static DBDecoderFactory FACTORY
           
 
Constructor Summary
LazyDBDecoder()
           
 
Method Summary
 DBObject decode(byte[] b, DBCollection collection)
           
 DBObject decode(InputStream in, DBCollection collection)
           
 DBCallback getDBCallback(DBCollection collection)
           
 
Methods inherited from class org.bson.LazyBSONDecoder
decode, decode, readObject, readObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bson.BSONDecoder
decode, decode, readObject, readObject
 

Field Detail

FACTORY

public static DBDecoderFactory FACTORY
Constructor Detail

LazyDBDecoder

public LazyDBDecoder()
Method Detail

getDBCallback

public DBCallback getDBCallback(DBCollection collection)
Specified by:
getDBCallback in interface DBDecoder

decode

public DBObject decode(byte[] b,
                       DBCollection collection)
Specified by:
decode in interface DBDecoder

decode

public DBObject decode(InputStream in,
                       DBCollection collection)
                throws IOException
Specified by:
decode in interface DBDecoder
Throws:
IOException