public class PdfCoverResourceHandler extends ImageResourceHandler
| Modifier and Type | Field and Description |
|---|---|
protected AmetysObjectResolver |
_ametysObjectResolver
Ametys object resolver
|
protected ConvertExternalResource2ImagesComponent |
_externalResourceComponent
Attachment component
|
private static Pattern |
_RESOURCE_PATH_PATTERN |
_cocoonContext, _context, _resolver, _supportedSuffixesMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
PdfCoverResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Get the priority of this handler
|
void |
service(ServiceManager serviceManager) |
Source |
setup(String location,
Parameters par)
Initialize the resource handler with a resource.
|
generateResource, getKeyconfigure, contextualize, getLastModified, getMimeType, getSize, getValidity, isSupportedgetLogger, setLoggerprivate static final Pattern _RESOURCE_PATH_PATTERN
protected ConvertExternalResource2ImagesComponent _externalResourceComponent
protected AmetysObjectResolver _ametysObjectResolver
public PdfCoverResourceHandler()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class AbstractResourceHandlerServiceExceptionpublic int getPriority()
ResourceHandlergetPriority in interface ResourceHandlergetPriority in class AbstractResourceHandlerpublic Source setup(String location, Parameters par) throws IOException, ProcessingException
ResourceHandlersetup in interface ResourceHandlersetup in class ImageResourceHandlerlocation - The source uripar - The parametersIOException - If an error occursProcessingException - If an error occurs