Class ExtensionSupportEvaluator


  • public class ExtensionSupportEvaluator
    extends Object
    Evaluates if an extension is supported and acts accordingly if it is not.
    • Constructor Detail

      • ExtensionSupportEvaluator

        public ExtensionSupportEvaluator()
    • Method Detail

      • checkSupport

        public boolean checkSupport​(String extensionName)
        Checks if an extension is supported by ocfl-java, and returns true if it is. If it is not, either an exception is thrown or a WARNing is logged based on how this class is configured.
        Parameters:
        extensionName - the name of the extension to check
        Returns:
        true if the extension is supported