Package org.vaadin.firitin.components
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.
Writes the content of the downloaded file to the given output stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeContent
(OutputStream out) Writes the content of the downloaded file to the given output stream (~ output stream of there response).
-
Method Details
-
writeContent
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
-