-
- All Known Subinterfaces:
ByteSource
- All Known Implementing Classes:
BasicByteSource,ConcatenatedByteSource,GlobbingByteSource
public interface InputStreamSupplierAn abstract factory for input streams.InputStreamSupplierobjects represent entities such as files and sockets, which can be read as a stream of bytes. Various factory methods forInputStreamSupplierobjects may be found onInputStreamSuppliers.- See Also:
InputStreamSuppliers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamopen()Opens an input stream for reading.
-
-
-
Method Detail
-
open
InputStream open() throws IOException
Opens an input stream for reading. The caller is responsible for closing the returnedInputStream.- Returns:
- a reader of the bytes from this supplier
- Throws:
IOException- if an I/O error occurs while opening stream
-
-