com.atlassian.bamboo.utils
Class IpAddressValidator

java.lang.Object
  extended by com.atlassian.bamboo.utils.IpAddressValidator

public class IpAddressValidator
extends java.lang.Object

A class for checking to see if a String is a valid IP Address.


Method Summary
static boolean isValidIpAddress(java.lang.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
 

Method Detail

isValidIpAddress

public static boolean isValidIpAddress(java.lang.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 © 2010 Atlassian. All Rights Reserved.