|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lukasfeiler.ipconfig.NetworkInterfaceConfiguration
A network interface configuration with IP address, netmask and default gateway.
| Constructor Summary | |
NetworkInterfaceConfiguration(IPAddress ipAddress,
Netmask netmask,
IPAddress gateway)
Constructor that takes the IP address, netmask and gateway as arguments. |
|
NetworkInterfaceConfiguration(java.lang.String ipAddress,
java.lang.String netmask,
java.lang.String gateway)
Constructor that takes the IP address, netmask and gateway in the dotted-quad notation as arguments. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Command line interface. |
void |
validate()
Throws an IPConfigException if the configuration is invalid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NetworkInterfaceConfiguration(IPAddress ipAddress,
Netmask netmask,
IPAddress gateway)
public NetworkInterfaceConfiguration(java.lang.String ipAddress,
java.lang.String netmask,
java.lang.String gateway)
throws InvalidIntOctetException,
com.lukasfeiler.ipconfig.IPException,
IPConfigException
| Method Detail |
public void validate()
throws IPConfigException
IPConfigExceptionpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||