Package org.dellroad.stuff.io
Interface ReadCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface used to read input from an
InputStream
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
readFrom
(InputStream input) Read from the given input stream.
-
Method Details
-
readFrom
Read from the given input stream.This method should not
close()
the giveninput
.- Parameters:
input
- input stream- Throws:
IOException
- if an I/O error occurs
-