Class URLCheck


  • public class URLCheck
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      URLCheck()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isInnerAddress​(java.net.InetAddress inetAddress)  
      static boolean isURLforbidden​(java.lang.String full)  
      static boolean isURLforbidden​(java.net.URL url)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • URLCheck

        public URLCheck()
    • Method Detail

      • isURLforbidden

        public static boolean isURLforbidden​(java.lang.String full)
      • isURLforbidden

        public static boolean isURLforbidden​(java.net.URL url)
                                      throws java.io.UnsupportedEncodingException,
                                             java.net.UnknownHostException
        Throws:
        java.io.UnsupportedEncodingException
        java.net.UnknownHostException
      • isInnerAddress

        public static boolean isInnerAddress​(java.net.InetAddress inetAddress)