Package net.fortuna.ical4j.util
Class InetAddressHostInfo
- java.lang.Object
-
- net.fortuna.ical4j.util.InetAddressHostInfo
-
-
Constructor Summary
Constructors Constructor Description InetAddressHostInfo()
InetAddressHostInfo(InetAddress address)
-
-
-
Constructor Detail
-
InetAddressHostInfo
public InetAddressHostInfo() throws SocketException
- Throws:
SocketException
- where an error occurs identifying the host address
-
InetAddressHostInfo
public InetAddressHostInfo(InetAddress address)
- Parameters:
address
- a host address
-
-
Method Detail
-
getHostName
public String getHostName()
- Specified by:
getHostName
in interfaceHostInfo
- Returns:
- a name for the host machine
-
-