|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAssetHandler
Asset handler interface. This interface must be implemented by asset handler. For example, image handler implements this interface and provides ExtractMetadata() custom method which extracts thumbnails and metadata (e.g. image width and height).
Field Summary | |
---|---|
static int |
DETAIL_SIZE
Size of the detailed (medium) image. |
static int |
PREVIEW_SIZE
Size of the preview (largest) image. |
static int |
THUMBNAIL_SIZE
Size of the thumbnail (smallest) image. |
Method Summary | |
---|---|
IItem |
extractMetadata(IItem item)
Extracts metadata from an item (e.g. |
void |
initialize(IAssetHandlerContext context,
Properties props)
Called once to initialize asset handler. |
void |
unInitialize()
Called once to uninitialize asset handler. |
Field Detail |
---|
static final int THUMBNAIL_SIZE
static final int DETAIL_SIZE
static final int PREVIEW_SIZE
Method Detail |
---|
void initialize(IAssetHandlerContext context, Properties props) throws AgentException
context
- pointer to asset handler context.props
- custom asset handler initialization properties.
They are read from types.xml AgentException
void unInitialize() throws AgentException
AgentException
IItem extractMetadata(IItem item) throws AgentException
item
- item to process.
AgentException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |