public static CSProperties properties ( Reader [ ] r , String name ) throws IOException { CSVProperties p = new CSVProperties ( r [ 0 ] , name ) ; for ( int i = 1 ; i < r . length ; i ++ ) { CSVParser csv = new CSVParser ( r [ i ] , CSVStrategy . DEFAULT_STRATEGY ) ; locate ( csv , name , PROPERTIES , PROPERTIES1 ) ; p . readProps ( csv ) ; r [ i ] . close ( ) ; } return p ; }
Create a CSProperty from an array of reader .