public class Address extends Object
Constructor and Description |
---|
Address(InetAddress address)
Constructor with an INETAddress
|
Address(String hostName)
Contructor with a hostname
|
Modifier and Type | Method and Description |
---|---|
String |
getDnsName() |
String |
getIpAddress() |
public Address(String hostName) throws UnknownHostException
hostName
- the hostnameUnknownHostException
- if the host is unknownpublic Address(InetAddress address)
address
- th addressCopyright © 2013-2018–2019 SeedStack. All rights reserved.