org.gudy.bouncycastle.util
Class IPAddress

java.lang.Object
  extended by org.gudy.bouncycastle.util.IPAddress

public class IPAddress
extends java.lang.Object


Constructor Summary
IPAddress()
           
 
Method Summary
static boolean isValid(java.lang.String address)
          Validate the given IPv4 or IPv6 address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPAddress

public IPAddress()
Method Detail

isValid

public static boolean isValid(java.lang.String address)
Validate the given IPv4 or IPv6 address.

Parameters:
address - the IP address as a String.
Returns:
true if a valid address, false otherwise