Class CMSPageContentManager

java.lang.Object
io.goobi.viewer.model.cms.pages.content.CMSPageContentManager
All Implemented Interfaces:
Serializable

public class CMSPageContentManager extends Object implements Serializable
Loads components to include in a CMSPage.
Author:
Florian Alpers
See Also:
  • Constructor Details

    • CMSPageContentManager

      public CMSPageContentManager(Path... configFolders) throws IOException
      Loads CMS components from one or more folders. Folders may live on the regular filesystem or be mounted from a JAR via FileSystems.newFileSystem(java.net.URI, java.util.Map), which is the realistic case for module-contributed templates shipped inside a deployed JAR.
      Parameters:
      configFolders - one or more folders containing component XML template files
      Throws:
      IOException - if reading any of the folders fails
  • Method Details