Package nz.org.riskscape.engine.resource
Class BaseResource
java.lang.Object
nz.org.riskscape.engine.resource.BaseResource
- All Implemented Interfaces:
Resource
Base class for Resource
s.
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.resource.Resource
Resource.Options, Resource.PseudoResource
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.resource.Resource
NO_BYTES, SECURE_OPTIONS, UNKNOWN, UNKNOWN_URI
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.resource.Resource
ensureLocal, getContentAsString, getContentReader, getContentStream, getMediaType
-
Field Details
-
location
-
-
Constructor Details
-
BaseResource
-
-
Method Details
-
getLocation
- Specified by:
getLocation
in interfaceResource
- Returns:
- a
URI
identifying where this resource is located
-