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 Details

    • getOutputStream

      OutputStream getOutputStream() throws IOException
      Retuns the OutputStream object.
      Specified by:
      getOutputStream in interface de.elo.utils.net.UpDownload.ContentStreamBase
      Returns:
      OutputStream
      Throws:
      IOException
    • setContentLength

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

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