public static final class DiscardBodyStorageProvider.DiscardedStorage
extends java.lang.Object
implements org.apache.james.mime4j.storage.Storage
Constructor and Description |
---|
DiscardedStorage() |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
java.io.InputStream |
getInputStream() |
long |
size() |
void |
store(java.io.InputStream in) |
void |
write(byte[] buffer,
int offset,
int length) |
public void store(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public void write(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface org.apache.james.mime4j.storage.Storage
java.io.IOException
public long size()
public void delete()
delete
in interface org.apache.james.mime4j.storage.Storage
Copyright © 2021. All Rights Reserved.