Having a java.net.NetworkInterface
, is it possible to know the kind of interface we're dealing with (Wi-Fi, Ethernet, etc...)?
UPDATE
BTW: I'm on a Mac, and on a mac, NetworkInterface.getDisplayName() give "en0", "en1", "lo0", etc... (same as getName())