java.lang.Object | |
↳ | com.ericsson.research.trap.utils.IPUtil |
A collection of checks for IP addresses. These utilities provide convenience methods not covered by the Java API.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets a URI-safe address of an InetAddress.
| |||||||||||
Gets an array of the publicly accesisble IP addresses of the JVM.
| |||||||||||
Checks whether an InetAddress is a local (=virtual address space).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets a URI-safe address of an InetAddress. For example, returns
127.0.0.1
for localhost in IPv4, and [::1]
for
localhost in IPv6.
address | The address to convert |
---|
Gets an array of the publicly accesisble IP addresses of the JVM.
Checks whether an InetAddress is a local (=virtual address space). For example, 127.0.0.1 returns true, while 8.8.8.8 returns false.
address | The address to verify. |
---|