public interface Resource
InputStream to read bytes.| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Gets an input stream around the resource.
|
InputStream getInputStream() throws 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.
IOException - On IO errors.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.