public class InputStreamSource extends Object implements StreamSource
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
protected BufferedInputStream |
inputStream |
| Constructor and Description |
|---|
InputStreamSource(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytesFromInputStream(InputStream inStream) |
InputStream |
getInputStream()
Creates a NEW
InputStream to the provided resource. |
String |
toString() |
protected BufferedInputStream inputStream
protected byte[] bytes
public InputStreamSource(InputStream inputStream)
public InputStream getInputStream()
StreamSourceInputStream to the provided resource.getInputStream in interface InputStreamProvidergetInputStream in interface StreamSourcepublic byte[] getBytesFromInputStream(InputStream inStream) throws IOException
IOExceptionCopyright © 2016 Alfresco. All rights reserved.