Uses of Interface
org.apache.james.mime4j.storage.StorageProvider
-
Packages that use StorageProvider Package Description org.apache.james.mime4j.storage -
-
Uses of StorageProvider in org.apache.james.mime4j.storage
Classes in org.apache.james.mime4j.storage that implement StorageProvider Modifier and Type Class Description class
AbstractStorageProvider
Abstract implementation ofStorageProvider
that implementsstore(InputStream)
by copying the input stream to aStorageOutputStream
obtained fromcreateStorageOutputStream()
.class
CipherStorageProvider
AStorageProvider
that transparently scrambles and unscrambles the data stored by anotherStorageProvider
.class
MemoryStorageProvider
AStorageProvider
that stores the data entirely in memory.class
TempFileStorageProvider
AStorageProvider
that stores the data in temporary files.class
ThresholdStorageProvider
AStorageProvider
that keeps small amounts of data in memory and writes the remainder to anotherStorageProvider
(the back-end) if a certain threshold size gets exceeded.Methods in org.apache.james.mime4j.storage that return StorageProvider Modifier and Type Method Description static StorageProvider
DefaultStorageProvider. getInstance()
Returns the defaultStorageProvider
instance.StorageProvider
StorageBodyFactory. getStorageProvider()
Returns theStorageProvider
thisBodyFactory
uses to create message bodies from input streams.Methods in org.apache.james.mime4j.storage with parameters of type StorageProvider Modifier and Type Method Description static void
DefaultStorageProvider. setInstance(StorageProvider instance)
Sets the defaultStorageProvider
instance.Constructors in org.apache.james.mime4j.storage with parameters of type StorageProvider Constructor Description CipherStorageProvider(StorageProvider backend)
Creates a newCipherStorageProvider
for the given back-end using the Blowfish cipher algorithm.CipherStorageProvider(StorageProvider backend, String algorithm)
Creates a newCipherStorageProvider
for the given back-end and cipher algorithm.StorageBodyFactory(StorageProvider storageProvider, DecodeMonitor monitor)
Creates a newBodyFactory
instance that uses the given storage provider for creating message bodies from input streams.ThresholdStorageProvider(StorageProvider backend)
Creates a newThresholdStorageProvider
for the given back-end using a threshold size of 2048 bytes.ThresholdStorageProvider(StorageProvider backend, int thresholdSize)
Creates a newThresholdStorageProvider
for the given back-end and threshold size.
-