public class ResourceType extends Object implements ArooaValue, ArooaSessionAware
This uses Oddjob's internal class path to find the resource which includes all Oddballs. Oddballs will be searched in the order they were loaded.
<variables id='props'> <properties> <resource resource="org/oddjob/AResource.props"/> </properties> </variables>
Modifier and Type | Class and Description |
---|---|
static class |
ResourceType.Conversions |
Constructor and Description |
---|
ResourceType() |
ResourceType(String resource) |
Modifier and Type | Method and Description |
---|---|
void |
setArooaSession(ArooaSession session) |
void |
setResource(String resource)
Set the resource.
|
InputStream |
toInputStream() |
String |
toString() |
URL |
toURL() |
public ResourceType()
public ResourceType(String resource)
public void setArooaSession(ArooaSession session)
setArooaSession
in interface ArooaSessionAware
public URL toURL()
public InputStream toInputStream() throws IOException
IOException
public void setResource(String resource)
resource
- The resource.