public abstract class Resource extends Object implements IScopeProvider
Modifier and Type | Class and Description |
---|---|
static class |
Resource.GlobalScopeProvider |
Modifier and Type | Field and Description |
---|---|
protected IScopeProvider |
scopeProvider |
Modifier | Constructor and Description |
---|---|
protected |
Resource(IScopeProvider scopeProvider) |
Modifier and Type | Method and Description |
---|---|
InputSource |
asInputSource() |
Source |
asSource() |
org.apache.xerces.xni.parser.XMLInputSource |
asXMLInputSource() |
ClassLoader |
getConfigurationClassLoader()
This ClassLoader is set upon creation of the object, used to retrieve resources configured by the Ibis application.
|
String |
getName() |
static Resource |
getResource(IScopeProvider scopeProvider,
String resource) |
static Resource |
getResource(IScopeProvider scopeProvider,
String resource,
String allowedProtocols) |
static Resource |
getResource(String resource) |
abstract String |
getSystemId() |
abstract InputStream |
openStream() |
String |
toString() |
protected IScopeProvider scopeProvider
protected Resource(IScopeProvider scopeProvider)
public static Resource getResource(IScopeProvider scopeProvider, String resource)
public static Resource getResource(IScopeProvider scopeProvider, String resource, String allowedProtocols)
public String getName()
public Source asSource() throws SAXException, IOException
SAXException
IOException
public InputSource asInputSource() throws IOException
IOException
public org.apache.xerces.xni.parser.XMLInputSource asXMLInputSource() throws IOException
IOException
public abstract String getSystemId()
public abstract InputStream openStream() throws IOException
IOException
public final ClassLoader getConfigurationClassLoader()
IScopeProvider
getConfigurationClassLoader
in interface IScopeProvider
ClassLoaderManager
.Copyright © 2023 Frank!Framework. All rights reserved.