FileDocCategorySizeDatePackage
WhoAmI.javaAPI DocExample2782Mon Apr 06 18:10:22 BST 1998c15

WhoAmI

public class WhoAmI extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    if(args.length != 1) {
      System.err.println(
        "Usage: WhoAmI MachineName");
      System.exit(1);
    }
    InetAddress a = 
      InetAddress.getByName(args[0]);
    System.out.println(a);