From 87151d2ffed456b91494ac550ad36259e258893f Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sat, 1 Aug 2015 17:14:11 +0200 Subject: [PATCH] Some documentation for the new file validator feature --- src/site/markdown/examples.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/site/markdown/examples.md b/src/site/markdown/examples.md index 43f0790..461ad33 100644 --- a/src/site/markdown/examples.md +++ b/src/site/markdown/examples.md @@ -262,7 +262,8 @@ Makes sure a String only contains digits. ## Files Constraints validating all properties of `java.io.File` objects. There is an annotation for each property as well as one -for the negation of each property. +for the negation of each property. All annotations can also be applied to Strings. The validators will construct a new +File instance using `new File(String)` and use that instance for validation. ### @Absolute