public void set_filter ( filtervalue [ ] filter ) { String str = null ; for ( int i = 0 ; i < filter . length ; i ++ ) { if ( str != null ) str = str + "," ; if ( str == null ) str = filter [ i ] . get_name ( ) + ":" + nitro_util . encode ( filter [ i ] . get_value ( ) ) ; else str = str + filter [ i ] . get_name ( ) + ":" + nitro_util . encode ( filter [ i ] . get_value ( ) ) ; ; } this . filter = str ; }
sets filter field .