public final class ReconnectingInputStreamClosure
extends java.lang.Object
implements com.openexchange.ajax.container.IFileHolder.InputStreamClosure
| Constructor and Description |
|---|
ReconnectingInputStreamClosure(MailPart mailPart,
java.lang.String folderPath,
java.lang.String uid,
java.lang.String id,
boolean image,
com.openexchange.tools.session.ServerSession session) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
newStream()
Creates a new input stream to read from.
|
public ReconnectingInputStreamClosure(MailPart mailPart, java.lang.String folderPath, java.lang.String uid, java.lang.String id, boolean image, com.openexchange.tools.session.ServerSession session)
public java.io.InputStream newStream()
throws com.openexchange.exception.OXException,
java.io.IOException
com.openexchange.ajax.container.IFileHolder.InputStreamClosurenewStream in interface com.openexchange.ajax.container.IFileHolder.InputStreamClosurecom.openexchange.exception.OXException - If input stream cannot be returnedjava.io.IOException - If input stream cannot be returned