Package com.sun.identity.sm.validators
Class URLValidator
java.lang.Object
com.sun.identity.sm.validators.URLValidator
- All Implemented Interfaces:
com.sun.identity.sm.validators.Validator
@SupportedAll
public class URLValidator
extends Object
implements com.sun.identity.sm.validators.Validator
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
URLValidator
public URLValidator()
-
-
Method Details
-
validate
Determines whether the specified string is a valid URL- Parameters:
value
- string value to validaterule
- not used by this method- Returns:
- true if value is an URL
-
validate
Determines whether the specified string is a valid URL- Parameters:
value
- string to test- Returns:
- true if value is an URL
-