public class Ethers extends Object
Modifier and Type | Field and Description |
---|---|
static String |
defaultPathname |
Modifier and Type | Method and Description |
---|---|
static String |
getEtherAddress(String hostname) |
static String |
getEtherAddress(String hostname,
String ethersPathname) |
String |
getMac(String hostname)
Returns MAC address.
|
static void |
main(String[] args)
Command line interface to getMac.
|
static void |
setPathname(String pathname_) |
public static final String defaultPathname
public Ethers(String filename) throws FileNotFoundException
FileNotFoundException
public Ethers() throws FileNotFoundException
FileNotFoundException
public static void setPathname(String pathname_)
public String getMac(String hostname)
hostname
- public static void main(String[] args)
args
- hostname to be resolvedCopyright © 2015. All rights reserved.