Interface ContentSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Opens a file's content from its start, as many times as it is read.
-
Method Summary
-
Method Details
-
open
Opens the content.- Returns:
- a stream at the start of the content, closed by the caller
- Throws:
IOException- when the content can't be opened
-