1516171819202122232425
for (String sheetName : data.getSheetNames()) { Sheet sheet = data.getSheet(sheetName); s.append(sheetName + "\n"); for (String index : sheet.keySet()) { s.append(" " + index + ":" + sheet.get(index) + "\n"); } } return s.toString();