Java org.apache.commons.validator.routines UrlValidator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.validator.routines UrlValidator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.validator.routines UrlValidator.

The text is from its open source code.

Subclass

org.apache.commons.validator.routines.UrlValidator has subclasses.
Click this link to see all its subclasses.

Field

longALLOW_ALL_SCHEMES
Allows all validly formatted schemes to pass validation instead of supplying a set of valid schemes.
longALLOW_2_SLASHES
Allow two slashes in the path component of the URL.
longNO_FRAGMENTS
Enabling this options disallows any URL fragments.

Constructor

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.

Method

UrlValidatorgetInstance()
Returns the singleton instance of this class with default schemes and options.
booleanisValid(String value)

Checks if a field has a valid url address.