Interface DynamicFileDownloader.ContentWriter

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
Writes the content of the downloaded file to the given output stream.
  • 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