Uses of Interface
org.apache.james.mime4j.storage.Storage
-
Packages that use Storage Package Description org.apache.james.mime4j.samples.dom org.apache.james.mime4j.storage -
-
Uses of Storage in org.apache.james.mime4j.samples.dom
Methods in org.apache.james.mime4j.samples.dom that return Storage Modifier and Type Method 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. -
Uses of Storage in org.apache.james.mime4j.storage
Classes in org.apache.james.mime4j.storage that implement Storage Modifier and Type Class Description private static class
CipherStorageProvider.CipherStorage
(package private) static class
MemoryStorageProvider.MemoryStorage
class
MultiReferenceStorage
A wrapper around anotherStorage
that also maintains a reference counter.private static class
TempFileStorageProvider.TempFileStorage
private static class
ThresholdStorageProvider.ThresholdStorage
Fields in org.apache.james.mime4j.storage declared as Storage Modifier and Type Field Description private Storage
CipherStorageProvider.CipherStorage. encrypted
private Storage
MultiReferenceStorage. storage
private Storage
ThresholdStorageProvider.ThresholdStorage. tail
Methods in org.apache.james.mime4j.storage that return Storage Modifier and Type Method Description Storage
AbstractStorageProvider. store(java.io.InputStream in)
This implementation creates aStorageOutputStream
by callingcreateStorageOutputStream()
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 givenInputStream
.Storage
StorageOutputStream. toStorage()
Closes this output stream if it has not already been closed and returns aStorage
object which contains the bytes that have been written to this output stream.protected Storage
CipherStorageProvider.CipherStorageOutputStream. toStorage0()
protected Storage
MemoryStorageProvider.MemoryStorageOutputStream. toStorage0()
protected abstract Storage
StorageOutputStream. toStorage0()
Has to be implemented by a concrete subclass to create aStorage
object from the bytes that have been written to thisStorageOutputStream
.protected Storage
TempFileStorageProvider.TempFileStorageOutputStream. toStorage0()
protected Storage
ThresholdStorageProvider.ThresholdStorageOutputStream. toStorage0()
Methods in org.apache.james.mime4j.storage with parameters of type Storage Modifier and Type Method Description BinaryBody
StorageBodyFactory. binaryBody(Storage storage)
Creates aBinaryBody
that holds the content of the givenStorage
.TextBody
StorageBodyFactory. textBody(Storage storage)
TextBody
StorageBodyFactory. textBody(Storage storage, java.lang.String mimeCharset)
Constructors in org.apache.james.mime4j.storage with parameters of type Storage Constructor Description CipherStorage(Storage encrypted, java.lang.String algorithm, javax.crypto.spec.SecretKeySpec skeySpec)
MultiReferenceStorage(Storage storage)
Creates a newMultiReferenceStorage
instance for the given back-end.ThresholdStorage(byte[] head, int headLen, Storage tail)
-