public interface StorageConverterPlugin
Modifier and Type | Method and Description |
---|---|
HasInputStream |
createResource(Path path,
ResourceMetaBuilder resourceMetaBuilder,
HasInputStream hasInputStream)
Convert a resource during create operation and return a new data stream, or null to pass the data without
changing.
|
HasInputStream |
readResource(Path path,
ResourceMetaBuilder resourceMetaBuilder,
HasInputStream hasInputStream)
Convert a resource during read operation and return a new data stream, or null to pass the data without
changing.
|
HasInputStream |
updateResource(Path path,
ResourceMetaBuilder resourceMetaBuilder,
HasInputStream hasInputStream)
Convert a resource during update operation and return a new data stream, or null to pass the data without
changing.
|
HasInputStream readResource(Path path, ResourceMetaBuilder resourceMetaBuilder, HasInputStream hasInputStream)
path
- input pathresourceMetaBuilder
- builder to modify metadatahasInputStream
- accessor for underlying data streamHasInputStream createResource(Path path, ResourceMetaBuilder resourceMetaBuilder, HasInputStream hasInputStream)
path
- input pathresourceMetaBuilder
- builder to modify metadatahasInputStream
- accessor for underlying data streamHasInputStream updateResource(Path path, ResourceMetaBuilder resourceMetaBuilder, HasInputStream hasInputStream)
path
- input pathresourceMetaBuilder
- builder to modify metadatahasInputStream
- accessor for underlying data stream