![JAR search and dependency download from the Maven repository](/logo.png)
panda.tool.mail.MxLookup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-tool Show documentation
Show all versions of panda-tool Show documentation
Panda Tool contains some commonly used tools and source code generator for Panda Mvc. Can generate Entity/Query/Dao/Action class, Freemarker (HTML) template file.
package panda.tool.mail;
import java.util.List;
import panda.net.MXLookup;
public class MxLookup {
public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
try {
List hosts = MXLookup.lookup(args[i]);
for (int j = 0; j < hosts.size(); j++) {
System.out.println(args[i] + "[" + j + "]: " + hosts.get(j));
}
}
catch (Exception e) {
e.printStackTrace();
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy