Class AbstractCDMfrExtension

java.lang.Object
org.ametys.odf.cdmfr.AbstractCDMfrExtension
All Implemented Interfaces:
CDMfrExtension
Direct Known Subclasses:
AmetysCDMfrExtension, GenericCDMfrExtension

public abstract class AbstractCDMfrExtension extends Object implements CDMfrExtension
Helper class containing useful methods to implements CDM-fr extension.
  • Constructor Details

  • Method Details

    • _getFileAbsoluteUrl

      protected String _getFileAbsoluteUrl(Content content, File file, String dataPath)
      Computes an external URL for retrieving files after export.
      Parameters:
      content - the current exported content
      file - the file being exported
      dataPath - the data path of the file
      Returns:
      an URL for retrieving the file