/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }
/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }
/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }
/** * Returns the fully qualified hostname corresponding to this IP address. */ public String getCanonicalHostName() { try { return getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { return getHostAddress(); } }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }
/** * Returns the host name corresponding to this IP address. This may or may not be a * fully-qualified name. If the IP address could not be resolved, the numeric representation * is returned instead (see {@link #getHostAddress}). */ public String getHostName() { if (hostName == null) { try { hostName = getHostByAddrImpl(this).hostName; } catch (UnknownHostException ex) { hostName = getHostAddress(); } } return hostName; }