Package com.storedobject.ui.util
Interface HtmlTemplate.StreamSupplier
- Enclosing class:
HtmlTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for creating an input stream on demand.
-
Method Summary
-
Method Details
-
createStream
Creates an input stream. The caller of this method is responsible for closing the returned stream.- Returns:
- the created input stream, not
null
- Throws:
IOException
- if there was a problem when creating the stream
-