|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommon.Utilities
Collection of utility methods for the GLTMon project.
| Constructor Summary | |
Utilities()
|
|
| Method Summary | |
static boolean |
isLargerIP(java.lang.String firstIP,
java.lang.String secondIP)
Determine if the first IP address is larger or equal to the second IP address |
static boolean |
isValidIP(java.lang.String ipAddress)
Determines the validity of a an IP address. |
static boolean |
isValidSubnet(java.lang.String ipAddress)
Determines the validity of base IP address. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Utilities()
| Method Detail |
public static boolean isValidIP(java.lang.String ipAddress)
Form of the string is xxx.xxx.xxx.xxx
Valid IP address is:
ipAddress - the IP address to validate
public static boolean isValidSubnet(java.lang.String ipAddress)
Form of the string is xxx.xxx.xxx
Valid IP subnet address is:
ipAddress - the IP subnet address to validate
public static boolean isLargerIP(java.lang.String firstIP,
java.lang.String secondIP)
firstIP - String containing the first IP addresssecondIP - String containing the second IP address
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||