class RegexFilePathMatcher implements FilePathMatcher {

    public void setPatterns(final String... patterns) throws IllegalArgumentException {

        if (ArrayUtils.isEmpty(patterns)) {
            throw new IllegalArgumentException("a RegexFilePathMatcher needs at least one pattern");
        }

        this.inputPatterns = patterns;
        this.validator = new RegexValidator(patterns);
    }

    public  RegexFilePathMatcher(final String... inputPatterns);

}