proper.util
Interface CluderInterface

All Known Implementing Classes:
Excluder, Includer

public interface CluderInterface

This interface is common to Excluder and Includer.

Version:
$Revision: 1.2 $
Author:
FracPete

Method Summary
 boolean contains(java.lang.String s)
          checks whether the given String is in the list included
 boolean contains(java.lang.String s, boolean regexp)
          checks whether the given String is in the list included; if regexp is TRUE the given String is assumed to be a regular Expression and that the list contains only normal strings
 boolean getCaseSensitive()
          returns the case-sensitive state
 java.util.Vector getList()
          returns the list
 int matchIndex(java.lang.String s)
          returns the index in the list where the first match was encountered
 int matchIndex(java.lang.String s, boolean regexp)
          returns the index in the list where the first match was encountered; if regexp is TRUE the given String is assumed to be a regular Expression and that the list contains only normal strings
 

Method Detail

getList

java.util.Vector getList()
returns the list


getCaseSensitive

boolean getCaseSensitive()
returns the case-sensitive state


matchIndex

int matchIndex(java.lang.String s)
returns the index in the list where the first match was encountered


matchIndex

int matchIndex(java.lang.String s,
               boolean regexp)
returns the index in the list where the first match was encountered; if regexp is TRUE the given String is assumed to be a regular Expression and that the list contains only normal strings

Parameters:
regexp - whether the given string is a regular expression or not

contains

boolean contains(java.lang.String s)
checks whether the given String is in the list included


contains

boolean contains(java.lang.String s,
                 boolean regexp)
checks whether the given String is in the list included; if regexp is TRUE the given String is assumed to be a regular Expression and that the list contains only normal strings

Parameters:
regexp - whether the given string is a regular expression or not