public class URLUtil
extends Object
-
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SCHEME_SEPARATOR
public static final String SCHEME_SEPARATOR
- See Also:
-
-
FILE_PROTOCOL
public static final String FILE_PROTOCOL
- See Also:
-
-
HTTP_PROTOCOL
public static final String HTTP_PROTOCOL
- See Also:
-
-
JAR_PROTOCOL
public static final String JAR_PROTOCOL
- See Also:
-
-
JAR_SEPARATOR
public static final String JAR_SEPARATOR
- See Also:
-
-
DATA_URI_PATTERN
public static final Pattern DATA_URI_PATTERN
-
URL_PATTERN
public static final Pattern URL_PATTERN
-
Method Details
-
canContainUrl
- Returns:
- if false, then the line contains no URL; if true, then more heavy
URL_PATTERN check should be used.