FileDocCategorySizeDatePackage
InterfaceLister.javaAPI DocExample412Sun Dec 12 10:51:42 GMT 2004None

InterfaceLister

public class InterfaceLister extends Object

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

        
      Enumeration interfaces = NetworkInterface.getNetworkInterfaces();
      while (interfaces.hasMoreElements()) {
        NetworkInterface ni = (NetworkInterface) interfaces.nextElement();
        System.out.println(ni);               
      }