Package org.vaadin.firitin.components
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.
-
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
-