Class ConvertResource2ImagesComponent

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

  • Field Details

    • ROLE

      public static final String ROLE
      Avalon ROLE.
  • Constructor Details

  • Method Details

    • doCache

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