T - the type of assetsI - the input APIO - the output APIpublic interface Transform<T extends Asset,I,O>
Assets.| Modifier and Type | Method and Description |
|---|---|
O |
apply(T asset,
I input)
Transforms an instance of the input API into an instance of the output API for a given asset.
|
Class<I> |
inputAPI()
Returns the input API.
|
Class<O> |
outputAPI()
Returns the output type.
|
O apply(T asset, I input) throws Exception
asset - the assetinput - the instance of the input APIException - if the transform could not be appliedCopyright © 2018. All rights reserved.