net.fortuna.ical4j.util
Class InetAddressHostInfo

java.lang.Object
  extended by net.fortuna.ical4j.util.InetAddressHostInfo
All Implemented Interfaces:
HostInfo

public class InetAddressHostInfo
extends java.lang.Object
implements HostInfo

Author:
fortuna

Constructor Summary
InetAddressHostInfo()
           
InetAddressHostInfo(java.net.InetAddress address)
           
 
Method Summary
 java.lang.String getHostName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InetAddressHostInfo

public InetAddressHostInfo()
                    throws java.net.SocketException
Throws:
java.net.SocketException - where an error occurs identifying the host address

InetAddressHostInfo

public InetAddressHostInfo(java.net.InetAddress address)
Parameters:
address - a host address
Method Detail

getHostName

public java.lang.String getHostName()

Specified by:
getHostName in interface HostInfo
Returns:
a name for the host machine


Copyright © 2004-2011 Modularity. All Rights Reserved.