Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jul 21, 2024
1 parent 5590069 commit 4e94f49
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,17 +198,20 @@ private static boolean isOn(final long flag, final long options) {
*/
private final RegexValidator authorityValidator;

/**
* The domain validator.
*/
private final DomainValidator domainValidator;

/**
* Create a UrlValidator with default properties.
* Constructs a new instance with default properties.
*/
public UrlValidator() {
this(null);
}

/**
* Initialize a UrlValidator with the given validation options.
* Constructs a new instance with the given validation options.
* @param options The options should be set using the public constants declared in
* this class. To set multiple options you simply add them together. For example,
* ALLOW_2_SLASHES + NO_FRAGMENTS enables both of those options.
Expand All @@ -218,7 +221,7 @@ public UrlValidator(final long options) {
}

/**
* Initialize a UrlValidator with the given validation options.
* Constructs a new instance with the given validation options.
* @param authorityValidator Regular expression validator used to validate the authority part
* This allows the user to override the standard set of domains.
* @param options Validation options. Set using the public constants of this class.
Expand Down

0 comments on commit 4e94f49

Please sign in to comment.