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 StorageMultipartMessage.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 TypeClassDescriptionclassAbstract implementation ofStorageProviderthat implementsstore(InputStream)by copying the input stream to aStorageOutputStreamobtained fromcreateStorageOutputStream().classAStorageProviderthat transparently scrambles and unscrambles the data stored by anotherStorageProvider.classAStorageProviderthat stores the data entirely in memory.classAStorageProviderthat stores the data in temporary files.classAStorageProviderthat 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 StorageProviderCipherStorageProvider.backendprivate final StorageProviderThresholdStorageProvider.backendprivate static StorageProviderDefaultStorageProvider.instanceprivate final StorageProviderStorageBodyFactory.storageProviderMethods in org.apache.james.mime4j.storage that return StorageProviderModifier and TypeMethodDescriptionstatic StorageProviderDefaultStorageProvider.getInstance()Returns the defaultStorageProviderinstance.StorageBodyFactory.getStorageProvider()Returns theStorageProviderthisBodyFactoryuses to create message bodies from input streams.Methods in org.apache.james.mime4j.storage with parameters of type StorageProviderModifier and TypeMethodDescriptionstatic voidDefaultStorageProvider.setInstance(StorageProvider instance) Sets the defaultStorageProviderinstance.Constructors in org.apache.james.mime4j.storage with parameters of type StorageProviderModifierConstructorDescriptionCipherStorageProvider(StorageProvider backend) Creates a newCipherStorageProviderfor the given back-end using the Blowfish cipher algorithm.CipherStorageProvider(StorageProvider backend, 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.