@Test public void testGetPort() { int port = netid.getPort("127.0.0.2.8.4"); assertEquals("port decodeing does not match", 2052, port); }
public static int getPort(String str) { return toInetSocketAddress(str).getPort(); }
netid { public static int getPort(String str) { return toInetSocketAddress(str).getPort(); } }
netid { public static int getPort(String str) { return toInetSocketAddress(str).getPort(); } private  netid(); }
netid { public static int getPort(String str) { return toInetSocketAddress(str).getPort(); } private  netid(); static String toString(int port); static InetSocketAddress toInetSocketAddress(String str); static int getPort(String str); static int idOf(String id); }
netid { public static int getPort(String str) { return toInetSocketAddress(str).getPort(); } private  netid(); static String toString(int port); static InetSocketAddress toInetSocketAddress(String str); static int getPort(String str); static int idOf(String id);  }