Package de.undercouch.bson4jackson

Examples of de.undercouch.bson4jackson.BsonFactory.enable()


public class MongoBsonFactory extends BsonFactory {

    public static BsonFactory createFactory() {
        BsonFactory factory = new MongoBsonFactory();
        factory.enable(BsonParser.Feature.HONOR_DOCUMENT_LENGTH);
        return factory;
    }

    @Override
    protected BsonParser _createParser(InputStream in, IOContext ctxt) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.