public class URLCheck
extends java.lang.Object
Constructor and Description |
---|
URLCheck() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInnerAddress(java.net.InetAddress inetAddress) |
static boolean |
isURLforbidden(java.lang.String full) |
static boolean |
isURLforbidden(java.net.URL url) |
public static boolean isURLforbidden(java.lang.String full)
public static boolean isURLforbidden(java.net.URL url) throws java.io.UnsupportedEncodingException, java.net.UnknownHostException
java.io.UnsupportedEncodingException
java.net.UnknownHostException
public static boolean isInnerAddress(java.net.InetAddress inetAddress)