Package io.ocfl.core.path.constraint
Interface PathConstraint
- All Known Implementing Classes:
BeginEndPathConstraint
,PathLengthConstraint
,RegexPathConstraint
public interface PathConstraint
Validates that a path meets a defined constraint
-
Method Summary
-
Method Details
-
apply
Validates that a path meets a defined constraint- Parameters:
path
- the path to validate- Throws:
PathConstraintException
- when the constraint is not met
-