Package com.day.cq.dam.api
Interface Context
- All Known Implementing Classes:
SimpleContext
public interface Context
A context is given to a
FormatHandler in order to identify the chain of handlers and the asset being
generated.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an exception that occurred while processing an asset.voidaddMetadata(InputStream metadata) Add metadata.voidaddThumbnail(BufferedImage image) Add thumbnail image.
-
Method Details
-
addException
Add an exception that occurred while processing an asset.- Parameters:
e- exception to add
-
addThumbnail
Add thumbnail image.- Parameters:
image- buffered image
-
addMetadata
Add metadata.- Parameters:
metadata- metadata
-