public class StreamResource extends Object implements InputResource
| Constructor and Description |
|---|
StreamResource(InputStream aStream)
Constructs a resource.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Gets the input stream to the resource.
|
public StreamResource(InputStream aStream)
aStream - Input stream to read.public InputStream getInputStream() throws IOException
InputResourcegetInputStream in interface InputResourceIOException - in case the resource cannot be found.Copyright © 2025. All rights reserved.