| Package | Description |
|---|---|
| org.apache.james.mime4j.samples.dom | |
| org.apache.james.mime4j.storage |
| Modifier and Type | Method and Description |
|---|---|
private static Storage |
MultipartMessage.storeImage(StorageProvider storageProvider,
java.awt.image.BufferedImage image,
java.lang.String formatName)
Stores the specified image in a Storage object.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
CipherStorageProvider.CipherStorage |
(package private) static class |
MemoryStorageProvider.MemoryStorage |
class |
MultiReferenceStorage
A wrapper around another
Storage that also maintains a reference
counter. |
private static class |
TempFileStorageProvider.TempFileStorage |
private static class |
ThresholdStorageProvider.ThresholdStorage |
| Modifier and Type | Field and Description |
|---|---|
private Storage |
CipherStorageProvider.CipherStorage.encrypted |
private Storage |
MultiReferenceStorage.storage |
private Storage |
ThresholdStorageProvider.ThresholdStorage.tail |
| Modifier and Type | Method and Description |
|---|---|
Storage |
AbstractStorageProvider.store(java.io.InputStream in)
This implementation creates a
StorageOutputStream by calling
createStorageOutputStream()
and copies the content of the given input stream to that output stream. |
Storage |
StorageProvider.store(java.io.InputStream in)
Stores the contents of the given
InputStream. |
Storage |
StorageOutputStream.toStorage()
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. |
protected Storage |
ThresholdStorageProvider.ThresholdStorageOutputStream.toStorage0() |
protected Storage |
MemoryStorageProvider.MemoryStorageOutputStream.toStorage0() |
protected abstract Storage |
StorageOutputStream.toStorage0()
Has to be implemented by a concrete subclass to create a
Storage
object from the bytes that have been written to this
StorageOutputStream. |
protected Storage |
CipherStorageProvider.CipherStorageOutputStream.toStorage0() |
protected Storage |
TempFileStorageProvider.TempFileStorageOutputStream.toStorage0() |
| Modifier and Type | Method and Description |
|---|---|
BinaryBody |
StorageBodyFactory.binaryBody(Storage storage)
Creates a
BinaryBody that holds the content of the given
Storage. |
TextBody |
StorageBodyFactory.textBody(Storage storage)
|
TextBody |
StorageBodyFactory.textBody(Storage storage,
java.lang.String mimeCharset)
|
| Constructor and Description |
|---|
CipherStorage(Storage encrypted,
java.lang.String algorithm,
javax.crypto.spec.SecretKeySpec skeySpec) |
MultiReferenceStorage(Storage storage)
Creates a new
MultiReferenceStorage instance for the given
back-end. |
ThresholdStorage(byte[] head,
int headLen,
Storage tail) |