rooklyn-core.0.6.0-M1.source-code.AledMain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-core Show documentation
Show all versions of brooklyn-core Show documentation
Entity implementation classes, events, and other core elements
import java.net.InetAddress;
import java.net.UnknownHostException;
public class AledMain {
public static void main(String[] args) throws UnknownHostException {
InetAddress addr = InetAddress.getByName("1.2.3.5");
String hostname = addr.getHostName();
System.out.println("addr="+addr+"; hostname="+hostname);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy