Example usage for Java org.apache.commons.validator.routines UrlValidator fields, constructors, methods, implement or subclass
The text is from its open source code.
long | ALLOW_ALL_SCHEMES Allows all validly formatted schemes to pass validation instead of supplying a set of valid schemes. |
long | ALLOW_2_SLASHES Allow two slashes in the path component of the URL. |
long | NO_FRAGMENTS Enabling this options disallows any URL fragments. |
UrlValidator(String[] schemes, long options) Behavior of validation is modified by passing in options: | |
UrlValidator(RegexValidator authorityValidator, long options) Initialize a UrlValidator with the given validation options. | |
UrlValidator() Create a UrlValidator with default properties. | |
UrlValidator(String[] schemes) Behavior of validation is modified by passing in several strings options: | |
UrlValidator(long options) Initialize a UrlValidator with the given validation options. | |
UrlValidator(String[] schemes, RegexValidator authorityValidator, long options) Customizable constructor. |
UrlValidator | getInstance() Returns the singleton instance of this class with default schemes and options. |
boolean | isValid(String value) Checks if a field has a valid url address. |