Interface PathCharConstraint
-
- All Known Implementing Classes:
BackslashPathSeparatorConstraint,BitSetPathCharConstraint
public interface PathCharConstraintValidates that the characters in a filename meet a defined constraint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(char c, String path)Validates that the characters in a filename meet a defined constraint
-
-
-
Method Detail
-
apply
void apply(char c, String path)Validates that the characters in a filename meet a defined constraint- Parameters:
c- the character to validatepath- the path the character is part of. This is supplied for context and is not validated- Throws:
PathConstraintException- when the constraint is not met
-
-