Package org.apache.james.mime4j.storage
-
Interface Summary Interface Description Storage Can be used to read data that has been stored by aStorageProvider
.StorageProvider Provides a strategy for storing the contents of anInputStream
or retrieving the content written to anOutputStream
. -
Class Summary Class Description AbstractStorageProvider Abstract implementation ofStorageProvider
that implementsstore(InputStream)
by copying the input stream to aStorageOutputStream
obtained fromcreateStorageOutputStream()
.CipherStorageProvider AStorageProvider
that transparently scrambles and unscrambles the data stored by anotherStorageProvider
.DefaultStorageProvider Allows for a defaultStorageProvider
instance to be configured on an application level.MemoryStorageProvider AStorageProvider
that stores the data entirely in memory.MultiReferenceStorage A wrapper around anotherStorage
that also maintains a reference counter.StorageBodyFactory Factory for creating message bodies.StorageOutputStream This class implements an output stream that can be used to create aStorage
object.TempFileStorageProvider AStorageProvider
that stores the data in temporary files.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.