org.pfsw.bif.text
Interface IStringFilter


public interface IStringFilter

A simple interface for abstraction of string matching.


Field Summary
static IStringFilter ALL
          A predefined filter that matches all strings (but not null).
static IStringFilter NONE
          A predefined filter that matches no string at all.
 
Method Summary
 boolean matches(java.lang.String aString)
          Returns true if the given string matches the filter otherwise false.
 

Field Detail

NONE

static final IStringFilter NONE
A predefined filter that matches no string at all.


ALL

static final IStringFilter ALL
A predefined filter that matches all strings (but not null).

Method Detail

matches

boolean matches(java.lang.String aString)
Returns true if the given string matches the filter otherwise false.

Parameters:
aString - Any string or even null