public abstract class InputStreamResource extends Object implements TextResource
| Constructor and Description |
|---|
InputStreamResource() |
| Modifier and Type | Method and Description |
|---|---|
abstract InputStream |
resourceStream()
Provides an InputStream with the text content of the TextResource
|
String |
resourceText()
Provides the text content of the TextResource by reading out the content of the resource's InputStream
|
public abstract InputStream resourceStream() throws IOException
IOException - if the InputStream can not be constructedpublic String resourceText()
resourceText in interface TextResourceCopyright © 2016. All rights reserved.