Class SimpleInventoryValidator
- java.lang.Object
-
- edu.wisc.library.ocfl.core.validation.SimpleInventoryValidator
-
public class SimpleInventoryValidator extends Object
Validates the contents of a SimpleInventory object against the OCFL v1.0 spec
-
-
Constructor Summary
Constructors Constructor Description SimpleInventoryValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResultsvalidateInventory(SimpleInventory inventory, String inventoryPath)Validates the specified inventory and returns an object contain any issues that were found.
-
-
-
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 validateinventoryPath- the path to the inventory- Returns:
- the validation results
-
-