Interface InputStreamCallback
- 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 stream-based file retrieval using a RemoteFileOperations.
- Since:
- 3.0
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doWithInputStream
(InputStream stream) Called with the InputStream for the remote file.
-
Method Details
-
doWithInputStream
Called with the InputStream for the remote file. The caller will take care of closing the stream and finalizing the file retrieval operation after this method exits.- Parameters:
stream
- The InputStream.- Throws:
IOException
- Any IOException.
-