public static interface URIConverter.Loadable
URIConverter.createInputStream(URI)
and URIConverter.createInputStream(URI, Map)
.
An input stream implementing this interface is highly unlikely to support read
.
Instead loadResource
should be called.Modifier and Type | Method and Description |
---|---|
void |
loadResource(Resource resource)
Load the contents of the resource directly from the backing store for which the stream implementing this interface is a facade.
|
void loadResource(Resource resource) throws java.io.IOException
resource
- the resource to load.java.io.IOException
- if there are any problems load the resource from the backing store.