Interface DynamicFileDownloader.ContentWriter

All Superinterfaces:
Serializable
Enclosing class:
DynamicFileDownloader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DynamicFileDownloader.ContentWriter extends Serializable
Writes the content of the downloaded file to the given output stream.
Author:
mstahv
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Writes the content of the downloaded file to the given output stream (~ output stream of there response).
  • Method Details

    • writeContent

      void writeContent(OutputStream out) throws IOException
      Writes the content of the downloaded file to the given output stream (~ output stream of there response).
      Parameters:
      out - the output stream to write to
      Throws:
      IOException - if an IO error occurs