public class ResourceStreamSource extends Object implements StreamSource
Constructor and Description |
---|
ResourceStreamSource(String resource) |
ResourceStreamSource(String resource,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Creates a NEW
InputStream to the provided resource. |
String |
toString() |
public ResourceStreamSource(String resource)
public ResourceStreamSource(String resource, ClassLoader classLoader)
public InputStream getInputStream()
StreamSource
InputStream
to the provided resource.getInputStream
in interface InputStreamProvider
getInputStream
in interface StreamSource
Copyright © 2016 Alfresco. All rights reserved.