Package | Description |
---|---|
org.apache.james.mime4j.message | |
org.apache.james.mime4j.storage |
Modifier and Type | Method and Description |
---|---|
StorageProvider |
BodyFactory.getStorageProvider()
Returns the
StorageProvider this BodyFactory
uses to create message bodies from input streams. |
Constructor and Description |
---|
BodyFactory(StorageProvider storageProvider)
Creates a new
BodyFactory instance that uses the given
storage provider for creating message bodies from input streams. |
Message(java.io.InputStream is,
MimeEntityConfig config,
StorageProvider storageProvider)
Parses the specified MIME message stream into a
Message
instance using given MimeEntityConfig and StorageProvider . |
MessageBuilder(Entity entity,
StorageProvider storageProvider) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractStorageProvider
Abstract implementation of
StorageProvider that implements
store(InputStream) by copying the
input stream to a StorageOutputStream obtained from
createStorageOutputStream() . |
class |
CipherStorageProvider
A
StorageProvider that transparently scrambles and unscrambles the
data stored by another StorageProvider . |
class |
MemoryStorageProvider
A
StorageProvider that stores the data entirely in memory. |
class |
TempFileStorageProvider
A
StorageProvider that stores the data in temporary files. |
class |
ThresholdStorageProvider
A
StorageProvider that keeps small amounts of data in memory and
writes the remainder to another StorageProvider (the back-end)
if a certain threshold size gets exceeded. |
Modifier and Type | Method and Description |
---|---|
static StorageProvider |
DefaultStorageProvider.getInstance()
Returns the default
StorageProvider instance. |
Modifier and Type | Method and Description |
---|---|
static void |
DefaultStorageProvider.setInstance(StorageProvider instance)
Sets the default
StorageProvider instance. |
Constructor and Description |
---|
CipherStorageProvider(StorageProvider backend)
Creates a new
CipherStorageProvider for the given back-end
using the Blowfish cipher algorithm. |
CipherStorageProvider(StorageProvider backend,
java.lang.String algorithm)
Creates a new
CipherStorageProvider for the given back-end
and cipher algorithm. |
ThresholdStorageProvider(StorageProvider backend)
Creates a new
ThresholdStorageProvider for the given
back-end using a threshold size of 2048 bytes. |
ThresholdStorageProvider(StorageProvider backend,
int thresholdSize)
Creates a new
ThresholdStorageProvider for the given
back-end and threshold size. |
Copyright © 2004-2014. All Rights Reserved.