Package org.apache.jackrabbit.oak.plugins.memory

Examples of org.apache.jackrabbit.oak.plugins.memory.ArrayBasedBlob


        Blob blob = new BlobStoreBlob(blobStore, "foo");
        assertEquals("foo", blobSerializer.serialize(blob));
        assertEquals(0, blobStore.writeCount);

        blob = new ArrayBasedBlob("foo".getBytes());
        blobSerializer.serialize(blob);
        assertEquals(1, blobStore.writeCount);

        byte[] bytes = "foo".getBytes();
        String blobId = blobStore.writeBlob(new ByteArrayInputStream(bytes));
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.memory.ArrayBasedBlob

Copyright © 2018 www.massapicom. 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.