/** * For debugging only * * @param args an array of {@link java.lang.String} objects. */ public static void main(String[] args) { try { DbIpInterfaceEntry entry = DbIpInterfaceEntry.get(Integer.parseInt(args[0]), InetAddressUtils.addr(args[1])); System.out.println(entry.toString()); DbIfServiceEntry[] services = entry.getServices(); for (int i = 0; i < services.length; i++) { System.out.println(services[i].toString()); } } catch (Throwable t) { t.printStackTrace(); } }