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