org.bouncycastle.util

Class IPAddress


public class IPAddress
extends java.lang.Object

Method Summary

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

Method Details

isValid

public static boolean isValid(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