Package org.ametys.plugins.flipbook
Class ConvertMetadata2ImagesComponent
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.flipbook.AbstractConvertDocument2ImagesComponent
org.ametys.plugins.flipbook.ConvertMetadata2ImagesComponent
- All Implemented Interfaces:
Initializable
,Component
,LogEnabled
,Serviceable
,ThreadSafe
Implementation of a
AbstractConvertDocument2ImagesComponent
for a binary metadata-
Field Summary
Fields inherited from class org.ametys.plugins.flipbook.AbstractConvertDocument2ImagesComponent
_cocoonContext, _documentToImages, _resolver
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.plugins.flipbook.AbstractConvertDocument2ImagesComponent
cache, createImages, initialize, isMimeTypeSupported, service
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ROLE
Avalon ROLE.
-
-
Constructor Details
-
ConvertMetadata2ImagesComponent
public ConvertMetadata2ImagesComponent()
-
-
Method Details
-
doCache
Put the file in cache- Parameters:
content
- the contentmetadataPath
- the path of the metadatasiteName
- the name of the site- Returns:
- The absolute cache path
- Throws:
Exception
- if an error occurs while caching the file
-