Class ConvertContentAttachment2ImagesComponent

All Implemented Interfaces:
Initializable, Component, LogEnabled, Serviceable, ThreadSafe

Implementation of a AbstractConvertDocument2ImagesComponent for a content attachment
  • Field Details

    • ROLE

      public static final String ROLE
      Avalon ROLE.
  • Constructor Details

  • Method Details

    • doCache

      public String doCache(Resource resource, String contentName, String siteName) throws Exception
      Put the file in cache
      Parameters:
      resource - the resource
      contentName - the name of the content
      siteName - the name of the site
      Returns:
      The absolute cache path
      Throws:
      Exception - if an error occurs while caching the file