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 © 2016 JBoss by Red Hat. All rights reserved.