Class SimpleInventoryValidator


  • public class SimpleInventoryValidator
    extends Object
    Validates the contents of a SimpleInventory object against the OCFL v1.0 spec
    • Constructor Detail

      • SimpleInventoryValidator

        public SimpleInventoryValidator()
    • Method Detail

      • validateInventory

        public ValidationResults validateInventory​(SimpleInventory inventory,
                                                   String inventoryPath)
        Validates the specified inventory and returns an object contain any issues that were found.
        Parameters:
        inventory - the inventory to validate
        inventoryPath - the path to the inventory
        Returns:
        the validation results