protected void init ( ) { for ( int i = 0 ; i < config . getFilter ( ) . getInclusions ( ) . size ( ) ; i ++ ) { inclusions . add ( Pattern . compile ( config . getFilter ( ) . getInclusions ( ) . get ( i ) ) . asPredicate ( ) ) ; } for ( int i = 0 ; i < config . getFilter ( ) . getExclusions ( ) . size ( ) ; i ++ ) { exclusions . add ( Pattern . compile ( config . getFilter ( ) . getExclusions ( ) . get ( i ) ) . asPredicate ( ) ) ; } }
This method initialises the filter .