public void setPropertiesOn ( final Bean bean ) { String [ ] [ ] properties = getProperties ( ) ; for ( int i = 0 ; i < properties . length ; i ++ ) { if ( properties [ i ] . length < 2 ) { continue ; } for ( int j = 0 ; j < properties [ i ] . length - 1 ; j ++ ) { bean . addProperty ( properties [ i ] [ 0 ] , properties [ i ] [ j + 1 ] ) ; } } }
Set a string matrix of properties on a particular bean .