public static interface URIConverter.Saveable
URIConverter.createOutputStream(URI)
and URIConverter.createOutputStream(URI, Map)
.
An output stream implementing this interface is highly unlikely to support write
.
Instead saveResource
should be called.Modifier and Type | Method and Description |
---|---|
void |
saveResource(Resource resource)
Save the contents of the resource directly to the backing store for which the stream implementing this interface is a facade.
|
void saveResource(Resource resource) throws java.io.IOException
resource
- the resource to save.java.io.IOException
- if there are any problems saving the resource to the backing store.