Package org.frankframework.core
Class BytesResource
java.lang.Object
org.frankframework.core.Resource
org.frankframework.core.BytesResource
- All Implemented Interfaces:
IScopeProvider
Reference to an byte[]. Can be accessed multiple times.
- Author:
- Niels Meijer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.core.Resource
Resource.GlobalScopeProvider
-
Field Summary
Fields inherited from class org.frankframework.core.Resource
scopeProvider
-
Constructor Summary
ConstructorDescriptionBytesResource
(byte[] bytes, String name, IScopeProvider scopeProvider) BytesResource
(InputStream inputStream, String name, IScopeProvider scopeProvider) -
Method Summary
Methods inherited from class org.frankframework.core.Resource
asInputSource, asSource, asXMLInputSource, getConfigurationClassLoader, getName, getResource, getResource, getResource
-
Constructor Details
-
BytesResource
-
BytesResource
public BytesResource(InputStream inputStream, String name, IScopeProvider scopeProvider) throws IOException - Throws:
IOException
-
-
Method Details
-
openStream
- Specified by:
openStream
in classResource
- Throws:
IOException
-
getSystemId
- Specified by:
getSystemId
in classResource
- Returns:
- Canonical path of the resource
-
toString
-