// inherit doc comment public InetAddress getInetAddress() { try { return InetAddress.getByName(NetworkUtils.ip2string(networkManager.getAddress())); } catch (UnknownHostException e) { // may want to do something else here if we ever use this! return null; } }
public String getAddress() { return NetworkUtils.ip2string(networkManager.getAddress()); }