Package com.arpnetworking.utility
Interface HostResolver
- All Known Implementing Classes:
DefaultHostResolver
public interface HostResolver
Used to get the local hostname.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
-
Method Summary
-
Method Details
-
getLocalHostName
Provides the local host name.- Returns:
- The local host name.
- Throws:
UnknownHostException
- If the local host name cannot be resolved.
-