Package de.elo.ix.client
Interface IXClientIF.ContentStream
- All Superinterfaces:
de.elo.utils.net.UpDownload.ContentStreamBase
- Enclosing interface:
- IXClientIF
public static interface IXClientIF.ContentStream
extends de.elo.utils.net.UpDownload.ContentStreamBase
This class encapsulates an OutputStream for downloading a document.
-
Method Summary
Modifier and Type Method Description java.io.OutputStream
getOutputStream()
Retuns the OutputStream object.void
setContentLength(int contentLength)
Sets the content length.void
setContentType(java.lang.String contentType)
Sets the content Type
-
Method Details
-
getOutputStream
java.io.OutputStream getOutputStream() throws java.io.IOExceptionRetuns the OutputStream object.- Specified by:
getOutputStream
in interfacede.elo.utils.net.UpDownload.ContentStreamBase
- Returns:
- OutputStream
- Throws:
java.io.IOException
-
setContentLength
void setContentLength(int contentLength) throws java.io.IOExceptionSets the content length.- Specified by:
setContentLength
in interfacede.elo.utils.net.UpDownload.ContentStreamBase
- Parameters:
contentLength
- int- Throws:
java.io.IOException
-
setContentType
void setContentType(java.lang.String contentType) throws java.io.IOExceptionSets the content Type- Specified by:
setContentType
in interfacede.elo.utils.net.UpDownload.ContentStreamBase
- Parameters:
contentType
- String- Throws:
java.io.IOException
-