Interface OcflStorageLayoutExtension

    • Method Detail

      • init

        void init​(OcflExtensionConfig config)
        Configures the extension. This method must be called before the extension can be used.
        Parameters:
        config - extension configuration
      • getExtensionConfigClass

        Class<? extends OcflExtensionConfig> getExtensionConfigClass()
        The class that represents the extensions deserialized configuration.
        Returns:
        configuration class
      • mapObjectId

        String mapObjectId​(String objectId)
        Maps an object id to its path within the OCFL storage root.
        Parameters:
        objectId - the object id
        Returns:
        the path to the object root relative to the OCFL storage root
      • getDescription

        String getDescription()
        Returns:
        the description text that should be used in ocfl_layout.json