Class ConvertExternalResource2ImagesComponent

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

Implementation of a AbstractConvertDocument2ImagesComponent for an external resource
  • Field Details

    • ROLE

      public static final String ROLE
      Avalon ROLE.
  • Constructor Details

  • Method Details

    • doCache

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