Class DigitalAssetRendition.RenditionFormat
java.lang.Object
com.oracle.content.sdk.model.AssetObject
com.oracle.content.sdk.model.AssetLinksObject
com.oracle.content.sdk.model.digital.DigitalAssetRendition.RenditionFormat
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DigitalAssetRendition
A format for a specific rendition. Generally, these are different images types such as webp or jpg.
- See Also:
-
Field Summary
Fields inherited from class com.oracle.content.sdk.model.AssetLinksObject
links
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.oracle.content.sdk.model.AssetLinksObject
getLinks
-
Constructor Details
-
RenditionFormat
public RenditionFormat()
-
-
Method Details
-
getFormatName
This will be a value such as "jpg" or "webp"- Returns:
- the rendition format string
-
getRenditionName
-
getSize
-
getMimeType
-
getMetadata
-
getWidth
Get width value (or null if not set).- Returns:
- width if set
-
getHeight
Get height value (or null if not set).- Returns:
- width if set
-
getDownloadUrl
Get the download url, which is first url in the "links" structure.- Returns:
- download url, or null if not set.
-