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 TypeMethodDescriptionRetuns the OutputStream object.void
setContentLength
(int contentLength) Sets the content length.void
setContentType
(String contentType) Sets the content Type
-
Method Details
-
getOutputStream
Retuns the OutputStream object.- Specified by:
getOutputStream
in interfacede.elo.utils.net.UpDownload.ContentStreamBase
- Returns:
- OutputStream
- Throws:
IOException
-
setContentLength
Sets the content length.- Specified by:
setContentLength
in interfacede.elo.utils.net.UpDownload.ContentStreamBase
- Parameters:
contentLength
- int- Throws:
IOException
-
setContentType
Sets the content Type- Specified by:
setContentType
in interfacede.elo.utils.net.UpDownload.ContentStreamBase
- Parameters:
contentType
- String- Throws:
IOException
-