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.IOException
      Retuns the OutputStream object.
      Specified by:
      getOutputStream in interface de.elo.utils.net.UpDownload.ContentStreamBase
      Returns:
      OutputStream
      Throws:
      java.io.IOException
    • setContentLength

      void setContentLength​(int contentLength) throws java.io.IOException
      Sets the content length.
      Specified by:
      setContentLength in interface de.elo.utils.net.UpDownload.ContentStreamBase
      Parameters:
      contentLength - int
      Throws:
      java.io.IOException
    • setContentType

      void setContentType​(java.lang.String contentType) throws java.io.IOException
      Sets the content Type
      Specified by:
      setContentType in interface de.elo.utils.net.UpDownload.ContentStreamBase
      Parameters:
      contentType - String
      Throws:
      java.io.IOException