public class UrlValidation extends Object
Constructor and Description |
---|
UrlValidation() |
Modifier and Type | Method and Description |
---|---|
int |
isValid(char[] data,
int offset)
Check the string to determine if it is valid, if it is, return the position of the first
character not part of the url.
|
static void |
main(String[] args) |
public int isValid(char[] data, int offset)
data
- the data we are looking at.offset
- the offset to look for a url.public static void main(String[] args)
args
- Copyright © 2017. All rights reserved.