com.atlassian.bamboo.utils
Class IpAddressValidator
java.lang.Object
com.atlassian.bamboo.utils.IpAddressValidator
public class IpAddressValidator
- extends Object
A class for checking to see if a String is a valid IP Address.
Method Summary |
static boolean |
isValidIpAddress(String ipAddress)
Does the goven IP address have the correct format? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isValidIpAddress
public static boolean isValidIpAddress(String ipAddress)
- Does the goven IP address have the correct format?
- Parameters:
ipAddress
- The ip address we are checking
- Returns:
- true if ok, false otherwise
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.