- 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 interface InputStreamCallback
Callback for stream-based file retrieval using a RemoteFileOperations.
- Gary Russell
doWithInputStreamCalled 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.
stream- The InputStream.
IOException- Any IOException.