Package io.ocfl.core.path.constraint
package io.ocfl.core.path.constraint
-
ClassDescriptionWindows only: Rejects filenames that contain backslashesValidates that a path or filename does or does not begin or and with a specified valueConstraint that applies restrictions on what characters are allowed in file names.This class provides default path constraints that can be applied to OCFL content paths to attempt to ensure portability across various filesystems.This class enforces constraints on content paths.Use this to construct a ContentPathConstraintProcessorValidates that a filename meets a defined constraintDescribes the constraints that are applied to logical paths.Validates that there are no empty filenamesValidates that the characters in a filename meet a defined constraintValidates that a path meets a defined constraintA PathConstraintProcessor is used to apply a preconfigured set of constraints to a given path.Use this to construct a new PathConstraintProcessorValidates that a path or filename are not longer than a fixed number of characters or bytesValidates that a path or filename does or does not match a regex