Package com.day.cq.dam.api
Interface Context
-
- All Known Implementing Classes:
SimpleContext
public interface Context
A context is given to aFormatHandler
in 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 void
addException(ProcessorException e)
Add an exception that occurred while processing an asset.void
addMetadata(java.io.InputStream metadata)
Add metadata.void
addThumbnail(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
-
-