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()
StreamSource
InputStream
to the provided resource.getInputStream
in interface InputStreamProvider
getInputStream
in interface StreamSource
public byte[] getBytesFromInputStream(InputStream inStream) throws IOException
IOException
Copyright © 2016 Alfresco. All rights reserved.