test_class.file: agent/core/src/test/java/org/jolokia/util/NetworkUtilTest.java
test_class.identifier: NetworkUtilTest
test_case.body: @Test
      public void dump() throws SocketException, UnknownHostException {
          try {
              System.out.println(NetworkUtil.dumpLocalNetworkInfo());
          } catch (Exception exp) {
              exp.printStackTrace();
          }
      }
test_case.class_method_signature: NetworkUtilTest.dump()
test_case.full_signature: @Test public void dump()
test_case.identifier: dump
test_case.invocations: println dumpLocalNetworkInfo printStackTrace
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void dump()
focal_class.declarator: isUp
focal_class.modifier: private static
focal_class.original_string: private static Method isUp;
focal_class.type: Method
focal_class.var_name: isUp
focal_class.declarator: supportsMulticast
focal_class.modifier: private static
focal_class.original_string: private static Method supportsMulticast;
focal_class.type: Method
focal_class.var_name: supportsMulticast
focal_class.declarator: EXPRESSION_EXTRACTOR = Pattern.compile("\\$\\{?\\s*([\\w:-_.]+)\\s*}?")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern EXPRESSION_EXTRACTOR = Pattern.compile("\\$\\{?\\s*([\\w:-_.]+)\\s*}?");
focal_class.type: Pattern
focal_class.var_name: EXPRESSION_EXTRACTOR
focal_class.file: agent/core/src/main/java/org/jolokia/util/NetworkUtil.java
focal_class.identifier: NetworkUtil
focal_class.class_method_signature: NetworkUtil.NetworkUtil()
focal_class.full_signature: private  NetworkUtil()
focal_class.identifier: NetworkUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  NetworkUtil()
focal_class.class_method_signature: NetworkUtil.main(String[] args)
focal_class.full_signature: public static void main(String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (String[] args)
focal_class.return: void
focal_class.signature: void main(String[] args)
focal_class.class_method_signature: NetworkUtil.getLocalAddress()
focal_class.full_signature: public static InetAddress getLocalAddress()
focal_class.identifier: getLocalAddress
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: InetAddress
focal_class.signature: InetAddress getLocalAddress()
focal_class.class_method_signature: NetworkUtil.getLocalAddressWithMulticast()
focal_class.full_signature: public static InetAddress getLocalAddressWithMulticast()
focal_class.identifier: getLocalAddressWithMulticast
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: InetAddress
focal_class.signature: InetAddress getLocalAddressWithMulticast()
focal_class.class_method_signature: NetworkUtil.findLocalAddressViaNetworkInterface()
focal_class.full_signature: public static InetAddress findLocalAddressViaNetworkInterface()
focal_class.identifier: findLocalAddressViaNetworkInterface
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: InetAddress
focal_class.signature: InetAddress findLocalAddressViaNetworkInterface()
focal_class.class_method_signature: NetworkUtil.isMulticastSupported()
focal_class.full_signature: public static boolean isMulticastSupported()
focal_class.identifier: isMulticastSupported
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMulticastSupported()
focal_class.class_method_signature: NetworkUtil.isMulticastSupported(NetworkInterface pNif)
focal_class.full_signature: public static boolean isMulticastSupported(NetworkInterface pNif)
focal_class.identifier: isMulticastSupported
focal_class.modifiers: public static
focal_class.parameters: (NetworkInterface pNif)
focal_class.return: boolean
focal_class.signature: boolean isMulticastSupported(NetworkInterface pNif)
focal_class.class_method_signature: NetworkUtil.isMulticastSupported(InetAddress pAddr)
focal_class.full_signature: public static boolean isMulticastSupported(InetAddress pAddr)
focal_class.identifier: isMulticastSupported
focal_class.modifiers: public static
focal_class.parameters: (InetAddress pAddr)
focal_class.return: boolean
focal_class.signature: boolean isMulticastSupported(InetAddress pAddr)
focal_class.class_method_signature: NetworkUtil.getMulticastAddresses()
focal_class.full_signature: public static List<InetAddress> getMulticastAddresses()
focal_class.identifier: getMulticastAddresses
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: List<InetAddress>
focal_class.signature: List<InetAddress> getMulticastAddresses()
focal_class.class_method_signature: NetworkUtil.getAgentId(int objectId, String type)
focal_class.full_signature: public static String getAgentId(int objectId, String type)
focal_class.identifier: getAgentId
focal_class.modifiers: public static
focal_class.parameters: (int objectId, String type)
focal_class.return: String
focal_class.signature: String getAgentId(int objectId, String type)
focal_class.class_method_signature: NetworkUtil.sanitizeLocalUrl(String pRequestURL)
focal_class.full_signature: public static String sanitizeLocalUrl(String pRequestURL)
focal_class.identifier: sanitizeLocalUrl
focal_class.modifiers: public static
focal_class.parameters: (String pRequestURL)
focal_class.return: String
focal_class.signature: String sanitizeLocalUrl(String pRequestURL)
focal_class.class_method_signature: NetworkUtil.getPort(URL url)
focal_class.full_signature: private static int getPort(URL url)
focal_class.identifier: getPort
focal_class.modifiers: private static
focal_class.parameters: (URL url)
focal_class.return: int
focal_class.signature: int getPort(URL url)
focal_class.class_method_signature: NetworkUtil.useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress)
focal_class.full_signature: private static boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress)
focal_class.identifier: useInetAddress
focal_class.modifiers: private static
focal_class.parameters: (NetworkInterface networkInterface, InetAddress interfaceAddress)
focal_class.return: boolean
focal_class.signature: boolean useInetAddress(NetworkInterface networkInterface, InetAddress interfaceAddress)
focal_class.class_method_signature: NetworkUtil.checkMethod(NetworkInterface iface, Method toCheck)
focal_class.full_signature: private static Boolean checkMethod(NetworkInterface iface, Method toCheck)
focal_class.identifier: checkMethod
focal_class.modifiers: private static
focal_class.parameters: (NetworkInterface iface, Method toCheck)
focal_class.return: Boolean
focal_class.signature: Boolean checkMethod(NetworkInterface iface, Method toCheck)
focal_class.class_method_signature: NetworkUtil.findLocalAddressListeningOnPort(String pHost, int pPort)
focal_class.full_signature: private static InetAddress findLocalAddressListeningOnPort(String pHost, int pPort)
focal_class.identifier: findLocalAddressListeningOnPort
focal_class.modifiers: private static
focal_class.parameters: (String pHost, int pPort)
focal_class.return: InetAddress
focal_class.signature: InetAddress findLocalAddressListeningOnPort(String pHost, int pPort)
focal_class.class_method_signature: NetworkUtil.getLocalAddressFromNetworkInterfacesListeningOnPort(int pPort)
focal_class.full_signature: private static InetAddress getLocalAddressFromNetworkInterfacesListeningOnPort(int pPort)
focal_class.identifier: getLocalAddressFromNetworkInterfacesListeningOnPort
focal_class.modifiers: private static
focal_class.parameters: (int pPort)
focal_class.return: InetAddress
focal_class.signature: InetAddress getLocalAddressFromNetworkInterfacesListeningOnPort(int pPort)
focal_class.class_method_signature: NetworkUtil.isPortOpen(InetAddress pAddress, int pPort)
focal_class.full_signature: private static boolean isPortOpen(InetAddress pAddress, int pPort)
focal_class.identifier: isPortOpen
focal_class.modifiers: private static
focal_class.parameters: (InetAddress pAddress, int pPort)
focal_class.return: boolean
focal_class.signature: boolean isPortOpen(InetAddress pAddress, int pPort)
focal_class.class_method_signature: NetworkUtil.getProcessId()
focal_class.full_signature: private static String getProcessId()
focal_class.identifier: getProcessId
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProcessId()
focal_class.class_method_signature: NetworkUtil.dumpLocalNetworkInfo()
focal_class.full_signature: public static String dumpLocalNetworkInfo()
focal_class.identifier: dumpLocalNetworkInfo
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String dumpLocalNetworkInfo()
focal_class.class_method_signature: NetworkUtil.replaceExpression(String pValue)
focal_class.full_signature: public static String replaceExpression(String pValue)
focal_class.identifier: replaceExpression
focal_class.modifiers: public static
focal_class.parameters: (String pValue)
focal_class.return: String
focal_class.signature: String replaceExpression(String pValue)
focal_class.class_method_signature: NetworkUtil.extractKey(String pVar, String pPrefix)
focal_class.full_signature: private static String extractKey(String pVar, String pPrefix)
focal_class.identifier: extractKey
focal_class.modifiers: private static
focal_class.parameters: (String pVar, String pPrefix)
focal_class.return: String
focal_class.signature: String extractKey(String pVar, String pPrefix)
focal_class.class_method_signature: NetworkUtil.getAddrInfo(InetAddress pAddr)
focal_class.full_signature: private static String getAddrInfo(InetAddress pAddr)
focal_class.identifier: getAddrInfo
focal_class.modifiers: private static
focal_class.parameters: (InetAddress pAddr)
focal_class.return: String
focal_class.signature: String getAddrInfo(InetAddress pAddr)
focal_class.class_method_signature: NetworkUtil.getNetworkInterfaceInfo(NetworkInterface pNif)
focal_class.full_signature: private static String getNetworkInterfaceInfo(NetworkInterface pNif)
focal_class.identifier: getNetworkInterfaceInfo
focal_class.modifiers: private static
focal_class.parameters: (NetworkInterface pNif)
focal_class.return: String
focal_class.signature: String getNetworkInterfaceInfo(NetworkInterface pNif)
focal_class.class_method_signature: NetworkUtil.formatHwAddress(byte[] pHardwareAddress)
focal_class.full_signature: private static String formatHwAddress(byte[] pHardwareAddress)
focal_class.identifier: formatHwAddress
focal_class.modifiers: private static
focal_class.parameters: (byte[] pHardwareAddress)
focal_class.return: String
focal_class.signature: String formatHwAddress(byte[] pHardwareAddress)
focal_method.body: public static String dumpLocalNetworkInfo() throws UnknownHostException, SocketException {
          StringBuffer buffer = new StringBuffer();
          InetAddress addr = InetAddress.getLocalHost();
          buffer.append("Localhost: " + getAddrInfo(addr) + "\n");
          Enumeration<NetworkInterface> nifs = NetworkInterface.getNetworkInterfaces();
          buffer.append("Network interfaces:\n");
          while (nifs.hasMoreElements()) {
              NetworkInterface nif = nifs.nextElement();
              buffer.append("  - " + getNetworkInterfaceInfo(nif) + "\n");
              Enumeration<InetAddress> addresses = nif.getInetAddresses();
              while (addresses.hasMoreElements()) {
                  addr = addresses.nextElement();
                  buffer.append("    " + getAddrInfo(addr) + "\n");
              }
          }
          return buffer.toString();
      }
focal_method.class_method_signature: NetworkUtil.dumpLocalNetworkInfo()
focal_method.full_signature: public static String dumpLocalNetworkInfo()
focal_method.identifier: dumpLocalNetworkInfo
focal_method.invocations: getLocalHost append getAddrInfo getNetworkInterfaces append hasMoreElements nextElement append getNetworkInterfaceInfo getInetAddresses hasMoreElements nextElement append getAddrInfo toString
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String dumpLocalNetworkInfo()