com.cafesoft.core.util
Class StringValidatorUtils

java.lang.Object
  extended by com.cafesoft.core.util.StringValidatorUtils

public class StringValidatorUtils
extends Object

StringValidatorUtils provides validation for standard/useful String formats.

Since:
November 20, 2009

Constructor Summary
StringValidatorUtils()
           
 
Method Summary
static boolean isIPv4Addr(String addr)
          Validate an IPv4 TCP/IP address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringValidatorUtils

public StringValidatorUtils()
Method Detail

isIPv4Addr

public static boolean isIPv4Addr(String addr)
Validate an IPv4 TCP/IP address.

Parameters:
addr - the String representation of the IPv4 address.
Returns:
true if the address is an IPv4 TCP/IP address, else false.


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.