Create guava hashmaptable from excel with apache poi
I have got an Excel-sheet which is built up like that:
SiO2 pyrite 0
SiO2 siderite 57
SiO2 plag50 53
Al2O3 pyrite 0
Al2O3 siderite 32
etc… they are around 400 entries.
I want now to transfer this Excel-sheet (2013) with Apache POI (XSSF) to a guava hashmaptable<String, String, Integer>
Table <String, String, Integer> mins = HashBasedTable.create();
mins.put(“SiO2”, “siderite”, 57)
etc.
How to do that ? And how to transfer a hashmaptable like that back to an excel sheet ? Thanks in advance !