Package com.day.cq.dam.api
Interface Context
-
- All Known Implementing Classes:
SimpleContext
public interface ContextA context is given to aFormatHandlerin order to identify the chain of handlers and the asset being generated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddException(ProcessorException e)Add an exception that occurred while processing an asset.voidaddMetadata(java.io.InputStream metadata)Add metadata.voidaddThumbnail(java.awt.image.BufferedImage image)Add thumbnail image.
-
-
-
Method Detail
-
addException
void addException(ProcessorException e)
Add an exception that occurred while processing an asset.- Parameters:
e- exception to add
-
addThumbnail
void addThumbnail(java.awt.image.BufferedImage image)
Add thumbnail image.- Parameters:
image- buffered image
-
addMetadata
void addMetadata(java.io.InputStream metadata)
Add metadata.- Parameters:
metadata- metadata
-
-