Package | Description |
---|---|
org.apache.james.mime4j.storage |
Modifier and Type | Class and Description |
---|---|
class |
MultiReferenceStorage
A wrapper around another
Storage that also maintains a reference
counter. |
Modifier and Type | Method and Description |
---|---|
Storage |
StorageProvider.store(InputStream in)
Stores the contents of the given
InputStream . |
Storage |
AbstractStorageProvider.store(InputStream in)
This implementation creates a
StorageOutputStream by calling
createStorageOutputStream()
and copies the content of the given input stream to that output stream. |
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 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 . |
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,
String mimeCharset)
|
Constructor and Description |
---|
MultiReferenceStorage(Storage storage)
Creates a new
MultiReferenceStorage instance for the given
back-end. |
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.