Fork me on GitHub

bean-validators

Build Status Coverage Status Maven Central License

Additional validator implementations for javax.validation.

There are annotations available for various basic Java types such as:

  • Strings
    • @Blank
    • @Alphabetic
  • Files
    • @Readable
    • @Writable
    • @Directory
  • Networking
    • @Domain
    • @IP
    • @Port
  • Misc
    • @Empty

Most validators use Apache Commons Lang3 and Apache Commons Validator functionality to implement various validation routines.

Documentation

Sample usage can be found on the Examples page. Further more the latest JavaDoc can be browsed.