BufferedReader br = new BufferedReader(new InputStreamReader(
WcagValidationItem.class.getResourceAsStream("ITEMDESC.csv")));
CSVReader reader = new CSVReader(br, ',');
HeaderColumnNameTranslateMappingStrategy
strat.setType(ItemDesc.class);
Map
columnMappings.put("IITEMMAPPINGCODE","itemMappingCode");
columnMappings.put("SDESC","desc");
columnMappings.put("SSUBJECT","subject");
strat.setColumnMapping(columnMappings);
CsvToBean
List
Map
for ( ItemDesc item : list ) {
itemDescs.put(item.getItemMappingCode(), item);
}
return itemDescs;
chart
http://code.google.com/p/clientsidegchart/?redir=1
댓글 없음:
댓글 쓰기