net.fortuna.ical4j.util
Class InetAddressHostInfo
java.lang.Object
net.fortuna.ical4j.util.InetAddressHostInfo
- All Implemented Interfaces:
- HostInfo
public class InetAddressHostInfo
- extends Object
- implements HostInfo
- Author:
- fortuna
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getHostName
public String getHostName()
-
- Specified by:
getHostName
in interface HostInfo
- Returns:
- a name for the host machine
Copyright © 2004-2012 Micronode. All Rights Reserved.