Class jls.net.InetAddress
This class represents an Internet Protocol (IP) address.
Defined in: InetAddress.js.
Class Summary
| Constructor Attributes |
Constructor Name and Description |
| |
|
Method Summary
| Method Attributes |
Method Name and Description |
| |
Returns the raw IP address of this InetAddress object.
|
| |
Returns the IP address string in textual presentation.
|
| |
Gets the host name for this IP address.
|
Class Detail
jls.net.InetAddress()
Method Detail
{Array}
getAddress()
Returns the raw IP address of this InetAddress object. The result is in network byte order: the highest order byte of the address is in getAddress()[0].
- Returns:
- {Array} The raw IP address of this object.
{String}
getHostAddress()
Returns the IP address string in textual presentation.
- Returns:
- {String} The raw IP address in a string format.
{String}
getHostName()
Gets the host name for this IP address.
- Returns:
- {String} The host name for this IP address.
Documentation generated by
JsDoc Toolkit 2.3.2 on Sat Jan 08 2011 02:00:14 GMT+0100 (CET)