|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetRendition
An AssetRendition is a "view" on a asset, for a specific MimeType. It can be a simple resize of an image, or a document conversion.
AssetRenderer.render(Asset, com.google.common.net.MediaType, String)
,
AssetProvider.getRendererFor(Asset, com.google.common.net.MediaType)
,
AssetProviderRegistry.getRendererFor(Asset, com.google.common.net.MediaType)
Method Summary | |
---|---|
Asset |
getAsset()
The Asset this rendition was created from. |
String |
getLink()
Returns a link to the binary of this rendition; that is, a (partial) URL usable by client code to download the rendition. |
String |
getMimeType()
The specific mime type of this rendition. |
String |
getRenditionName()
The name of this specific rendition, if any, as passed to AssetRenderer.render(Asset, com.google.common.net.MediaType, String) . |
InputStream |
getStream()
|
Method Detail |
---|
String getLink()
String getRenditionName()
AssetRenderer.render(Asset, com.google.common.net.MediaType, String)
.
String getMimeType()
InputStream getStream()
Asset getAsset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |