public class BytesStreamSource extends Object implements StreamSource
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
Constructor and Description |
---|
BytesStreamSource(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Creates a NEW
InputStream to the provided resource. |
public InputStream getInputStream()
StreamSource
InputStream
to the provided resource.getInputStream
in interface InputStreamProvider
getInputStream
in interface StreamSource
Copyright © 2016 Alfresco. All rights reserved.