commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject [lang] ContainsOnly and ContainsNone
Date Mon, 24 Mar 2003 00:57:23 GMT
I added an overload for containsOnly() so we have versions taking a char[]
and a String.

I also added containsNone() as the opposite function.

Both of these are designed for validation code that needs to limit which
characters are, or are not, allowed into a field.

Any problems?

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message