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

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

Introduction

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

The text is from its open source code.

Subclass

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

Field

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

Constructor

UrlValidator()
Create a UrlValidator with default properties.
UrlValidator(String[] schemes, int options)
Behavour of validation is modified by passing in options:
UrlValidator(String[] schemes)
Behavior of validation is modified by passing in several strings options:
UrlValidator(int options)
Initialize a UrlValidator with the given validation options.

Method

booleanisValid(String value)

Checks if a field has a valid url address.