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