All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.tool.mail.MxLookup Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.5.3
Show newest version
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