public class Address extends Object
Constructor and Description |
---|
Address(byte[] address) |
Address(int firstOctet,
int secondOctet,
int thirdOctet,
int fourthOctet) |
Address(String address) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
InetAddress |
getInetAddress() |
int |
hashCode() |
String |
toString() |
public Address(int firstOctet, int secondOctet, int thirdOctet, int fourthOctet) throws UtilityException
UtilityException
public Address(String address) throws UtilityException
UtilityException
public Address(byte[] address) throws UtilityException
UtilityException
public byte[] getBytes() throws UtilityException
UtilityException
public InetAddress getInetAddress() throws UtilityException, UnknownHostException
UtilityException
UnknownHostException