Implements URL and email address validators.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.2.2
- Since
- 1.0.0
◆ validate() [1/2]
static boolean eu.baltrad.dex.util.WebValidator.validate |
( |
List | list | ) |
|
|
inlinestatic |
Validates a list parameter.
- Parameters
-
- Returns
- True upon successful validation
◆ validate() [2/2]
static boolean eu.baltrad.dex.util.WebValidator.validate |
( |
String | param | ) |
|
|
inlinestatic |
Validates a string parameter.
- Parameters
-
- Returns
- True upon successful validation
◆ validateDateString()
static boolean eu.baltrad.dex.util.WebValidator.validateDateString |
( |
String | dateFormat, |
|
|
String | dateString ) |
|
inlinestatic |
Validates a date string
- Parameters
-
dateFormat | the expected date format |
dateString | the date string that should match the format |
- Returns
- True if successful
◆ validateEmail()
static boolean eu.baltrad.dex.util.WebValidator.validateEmail |
( |
String | email | ) |
|
|
inlinestatic |
Validates email address.
- Parameters
-
email | Email address to validate. |
- Returns
- True if given address is a valid email address, false otherwise
◆ validateUrl()
static boolean eu.baltrad.dex.util.WebValidator.validateUrl |
( |
String | urlString | ) |
|
|
inlinestatic |
Validates URL address.
- Parameters
-
url | URL address to validate. |
- Returns
- True if given address is a valid URL address, false otherwise
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/util/WebValidator.java