public interface Resource
InputStream to read bytes.| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream()
Gets an input stream around the resource.
|
java.io.InputStream getInputStream()
throws java.io.IOException
InputStream.close() unless otherwise noted.
Implementers should produce a new instance on every call to this method to provide for thread-safe usage patterns on a shared resource.
java.io.IOException - On IO errors.