Uses of Interface
org.apache.james.mime4j.storage.StorageProvider
Packages that use StorageProvider
-
Uses of StorageProvider in org.apache.james.mime4j.samples.dom
Methods in org.apache.james.mime4j.samples.dom with parameters of type StorageProviderModifier and TypeMethodDescriptionprivate static Storage
MultipartMessage.storeImage
(StorageProvider storageProvider, BufferedImage image, String formatName) Stores the specified image in a Storage object. -
Uses of StorageProvider in org.apache.james.mime4j.storage
Classes in org.apache.james.mime4j.storage that implement StorageProviderModifier and TypeClassDescriptionclass
Abstract implementation ofStorageProvider
that implementsstore(InputStream)
by copying the input stream to aStorageOutputStream
obtained fromcreateStorageOutputStream()
.class
AStorageProvider
that transparently scrambles and unscrambles the data stored by anotherStorageProvider
.class
AStorageProvider
that stores the data entirely in memory.class
AStorageProvider
that stores the data in temporary files.class
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.Fields in org.apache.james.mime4j.storage declared as StorageProviderModifier and TypeFieldDescriptionprivate final StorageProvider
CipherStorageProvider.backend
private final StorageProvider
ThresholdStorageProvider.backend
private static StorageProvider
DefaultStorageProvider.instance
private final StorageProvider
StorageBodyFactory.storageProvider
Methods in org.apache.james.mime4j.storage that return StorageProviderModifier and TypeMethodDescriptionstatic StorageProvider
DefaultStorageProvider.getInstance()
Returns the defaultStorageProvider
instance.StorageBodyFactory.getStorageProvider()
Returns theStorageProvider
thisBodyFactory
uses to create message bodies from input streams.Methods in org.apache.james.mime4j.storage with parameters of type StorageProviderModifier and TypeMethodDescriptionstatic void
DefaultStorageProvider.setInstance
(StorageProvider instance) Sets the defaultStorageProvider
instance.Constructors in org.apache.james.mime4j.storage with parameters of type StorageProviderModifierConstructorDescriptionCipherStorageProvider
(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.