Uses of Interface
org.apache.james.mime4j.storage.StorageProvider
-
Packages that use StorageProvider Package Description org.apache.james.mime4j.samples.dom org.apache.james.mime4j.storage -
-
Uses of StorageProvider in org.apache.james.mime4j.samples.dom
Methods in org.apache.james.mime4j.samples.dom with parameters of type StorageProvider Modifier and Type Method Description private static StorageMultipartMessage. storeImage(StorageProvider storageProvider, java.awt.image.BufferedImage image, java.lang.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 StorageProvider Modifier and Type Class Description classAbstractStorageProviderAbstract implementation ofStorageProviderthat implementsstore(InputStream)by copying the input stream to aStorageOutputStreamobtained fromcreateStorageOutputStream().classCipherStorageProviderAStorageProviderthat transparently scrambles and unscrambles the data stored by anotherStorageProvider.classMemoryStorageProviderAStorageProviderthat stores the data entirely in memory.classTempFileStorageProviderAStorageProviderthat stores the data in temporary files.classThresholdStorageProviderAStorageProviderthat 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 StorageProvider Modifier and Type Field Description private StorageProviderCipherStorageProvider. backendprivate StorageProviderThresholdStorageProvider. backendprivate static StorageProviderDefaultStorageProvider. instanceprivate StorageProviderStorageBodyFactory. storageProviderMethods in org.apache.james.mime4j.storage that return StorageProvider Modifier and Type Method Description static StorageProviderDefaultStorageProvider. getInstance()Returns the defaultStorageProviderinstance.StorageProviderStorageBodyFactory. getStorageProvider()Returns theStorageProviderthisBodyFactoryuses 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 voidDefaultStorageProvider. setInstance(StorageProvider instance)Sets the defaultStorageProviderinstance.Constructors in org.apache.james.mime4j.storage with parameters of type StorageProvider Constructor Description CipherStorageProvider(StorageProvider backend)Creates a newCipherStorageProviderfor the given back-end using the Blowfish cipher algorithm.CipherStorageProvider(StorageProvider backend, java.lang.String algorithm)Creates a newCipherStorageProviderfor the given back-end and cipher algorithm.StorageBodyFactory(StorageProvider storageProvider, DecodeMonitor monitor)Creates a newBodyFactoryinstance that uses the given storage provider for creating message bodies from input streams.ThresholdStorageProvider(StorageProvider backend)Creates a newThresholdStorageProviderfor the given back-end using a threshold size of 2048 bytes.ThresholdStorageProvider(StorageProvider backend, int thresholdSize)Creates a newThresholdStorageProviderfor the given back-end and threshold size.
-