A B C D G M O S T W

A

AbstractStorageProvider - Class in org.apache.james.mime4j.storage
Abstract implementation of StorageProvider that implements store(InputStream) by copying the input stream to a StorageOutputStream obtained from createStorageOutputStream().
AbstractStorageProvider() - Constructor for class org.apache.james.mime4j.storage.AbstractStorageProvider
Sole constructor.
addReference() - Method in class org.apache.james.mime4j.storage.MultiReferenceStorage
Increments the reference counter.

B

binaryBody(InputStream) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a BinaryBody that holds the content of the given input stream.
binaryBody(Storage) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a BinaryBody that holds the content of the given Storage.

C

CipherStorageProvider - Class in org.apache.james.mime4j.storage
A StorageProvider that transparently scrambles and unscrambles the data stored by another StorageProvider.
CipherStorageProvider(StorageProvider) - Constructor for class org.apache.james.mime4j.storage.CipherStorageProvider
Creates a new CipherStorageProvider for the given back-end using the Blowfish cipher algorithm.
CipherStorageProvider(StorageProvider, String) - Constructor for class org.apache.james.mime4j.storage.CipherStorageProvider
Creates a new CipherStorageProvider for the given back-end and cipher algorithm.
close() - Method in class org.apache.james.mime4j.storage.StorageOutputStream
Closes this output stream.
createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.CipherStorageProvider
 
createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.MemoryStorageProvider
 
createStorageOutputStream() - Method in interface org.apache.james.mime4j.storage.StorageProvider
Creates a StorageOutputStream where data to be stored can be written to.
createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.TempFileStorageProvider
 
createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.ThresholdStorageProvider
 

D

DEFAULT_STORAGE_PROVIDER_PROPERTY - Static variable in class org.apache.james.mime4j.storage.DefaultStorageProvider
Value is org.apache.james.mime4j.defaultStorageProvider
DefaultStorageProvider - Class in org.apache.james.mime4j.storage
Allows for a default StorageProvider instance to be configured on an application level.
delete() - Method in class org.apache.james.mime4j.storage.MultiReferenceStorage
Decrements the reference counter and deletes the inner Storage object if the reference counter reaches zero.
delete() - Method in interface org.apache.james.mime4j.storage.Storage
Deletes the data held by this Storage as soon as possible.

G

getInputStream() - Method in class org.apache.james.mime4j.storage.MultiReferenceStorage
Returns the input stream of the inner Storage object.
getInputStream() - Method in interface org.apache.james.mime4j.storage.Storage
Returns an InputStream that can be used to read the stored data.
getInstance() - Static method in class org.apache.james.mime4j.storage.DefaultStorageProvider
Returns the default StorageProvider instance.
getStorageProvider() - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Returns the StorageProvider this BodyFactory uses to create message bodies from input streams.

M

MemoryStorageProvider - Class in org.apache.james.mime4j.storage
A StorageProvider that stores the data entirely in memory.
MemoryStorageProvider() - Constructor for class org.apache.james.mime4j.storage.MemoryStorageProvider
Creates a new MemoryStorageProvider.
MultiReferenceStorage - Class in org.apache.james.mime4j.storage
A wrapper around another Storage that also maintains a reference counter.
MultiReferenceStorage(Storage) - Constructor for class org.apache.james.mime4j.storage.MultiReferenceStorage
Creates a new MultiReferenceStorage instance for the given back-end.

O

org.apache.james.mime4j.storage - package org.apache.james.mime4j.storage
 

S

setInstance(StorageProvider) - Static method in class org.apache.james.mime4j.storage.DefaultStorageProvider
Sets the default StorageProvider instance.
Storage - Interface in org.apache.james.mime4j.storage
Can be used to read data that has been stored by a StorageProvider.
StorageBodyFactory - Class in org.apache.james.mime4j.storage
Factory for creating message bodies.
StorageBodyFactory() - Constructor for class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a new BodyFactory instance that uses the default storage provider for creating message bodies from input streams.
StorageBodyFactory(StorageProvider, DecodeMonitor) - Constructor for class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a new BodyFactory instance that uses the given storage provider for creating message bodies from input streams.
StorageOutputStream - Class in org.apache.james.mime4j.storage
This class implements an output stream that can be used to create a Storage object.
StorageOutputStream() - Constructor for class org.apache.james.mime4j.storage.StorageOutputStream
Sole constructor.
StorageProvider - Interface in org.apache.james.mime4j.storage
Provides a strategy for storing the contents of an InputStream or retrieving the content written to an OutputStream.
store(InputStream) - Method in class org.apache.james.mime4j.storage.AbstractStorageProvider
This implementation creates a StorageOutputStream by calling createStorageOutputStream() and copies the content of the given input stream to that output stream.
store(InputStream) - Method in interface org.apache.james.mime4j.storage.StorageProvider
Stores the contents of the given InputStream.

T

TempFileStorageProvider - Class in org.apache.james.mime4j.storage
A StorageProvider that stores the data in temporary files.
TempFileStorageProvider() - Constructor for class org.apache.james.mime4j.storage.TempFileStorageProvider
Equivalent to using constructor TempFileStorageProvider("m4j", null, null).
TempFileStorageProvider(File) - Constructor for class org.apache.james.mime4j.storage.TempFileStorageProvider
Equivalent to using constructor TempFileStorageProvider("m4j", null, directory).
TempFileStorageProvider(String, String, File) - Constructor for class org.apache.james.mime4j.storage.TempFileStorageProvider
Creates a new TempFileStorageProvider using the given values.
textBody(InputStream) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a TextBody that holds the content of the given input stream.
textBody(InputStream, String) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a TextBody that holds the content of the given input stream.
textBody(Storage) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a TextBody that holds the content of the given Storage.
textBody(Storage, String) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a TextBody that holds the content of the given Storage.
textBody(String) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a TextBody that holds the content of the given string.
textBody(String, String) - Method in class org.apache.james.mime4j.storage.StorageBodyFactory
Creates a TextBody that holds the content of the given string.
ThresholdStorageProvider - Class in org.apache.james.mime4j.storage
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.
ThresholdStorageProvider(StorageProvider) - Constructor for class org.apache.james.mime4j.storage.ThresholdStorageProvider
Creates a new ThresholdStorageProvider for the given back-end using a threshold size of 2048 bytes.
ThresholdStorageProvider(StorageProvider, int) - Constructor for class org.apache.james.mime4j.storage.ThresholdStorageProvider
Creates a new ThresholdStorageProvider for the given back-end and threshold size.
toStorage() - Method in class org.apache.james.mime4j.storage.StorageOutputStream
Closes this output stream if it has not already been closed and returns a Storage object which contains the bytes that have been written to this output stream.
toStorage0() - Method in class org.apache.james.mime4j.storage.StorageOutputStream
Has to be implemented by a concrete subclass to create a Storage object from the bytes that have been written to this StorageOutputStream.

W

write(int) - Method in class org.apache.james.mime4j.storage.StorageOutputStream
 
write(byte[]) - Method in class org.apache.james.mime4j.storage.StorageOutputStream
 
write(byte[], int, int) - Method in class org.apache.james.mime4j.storage.StorageOutputStream
 
write0(byte[], int, int) - Method in class org.apache.james.mime4j.storage.StorageOutputStream
Has to implemented by a concrete subclass to write bytes from the given byte array to this StorageOutputStream.

A B C D G M O S T W

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.