public class MemoryStorageProvider extends AbstractStorageProvider
StorageProviderthat stores the data entirely in memory.
StorageProvider provider = new MemoryStorageProvider(); DefaultStorageProvider.setInstance(provider);
|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
public StorageOutputStream createStorageOutputStream()
StorageOutputStreamwhere data to be stored can be written to. Subsequently the user can call
toStorage()on that object to get a
Storageinstance that holds the data that has been written.
StorageOutputStreamwhere data can be written to.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.