Class LocalHostManager


  • public class LocalHostManager
    extends java.lang.Object
    • Constructor Detail

      • LocalHostManager

        public LocalHostManager()
                         throws java.net.SocketException
        Throws:
        java.net.SocketException
    • Method Detail

      • update

        public void update()
                    throws java.net.SocketException
        Throws:
        java.net.SocketException
      • getLocalAddresses

        public java.util.Set getLocalAddresses()
      • isLocalAddress

        public boolean isLocalAddress​(java.net.InetAddress addr)
      • isLocalHostName

        public boolean isLocalHostName​(java.lang.String name)
      • main

        public static void main​(java.lang.String[] argv)