Interface PathCharConstraint

    • 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 validate
        path - the path the character is part of. This is supplied for context and is not validated
        Throws:
        PathConstraintException - when the constraint is not met