There is much code in this last class that I can not use and there is a
simple method without return (*it is only void type!*).
*(1)* How can I do to save the content of the file into an Object matrix?
*(2)* Why "howto.processOneSheet("filename.xlsx")" does not work?
Esample:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
*INPUT*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
import org.apache.poi.xssf.eventusermodel.examples.FromHowTo;
public class LeggiXLS_Prova {
public static void main(String[] args) throws Exception {
FromHowTo howto = new FromHowTo();
*howto.processOneSheet("filename.xlsx");* ///Doesn't work!!!/
howto.processAllSheets("filename.xlsx");
}
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
*OUTPUT*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
Processing new sheet:
A1 - 2
B1 - 2
C1 - 2
A2 - 2
B2 - 2
C2 - 2
A3 - 2
B3 - 2
C3 - 2
Processing new sheet:
Processing new sheet:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/Apache-POI-works-but-it-uses-too-RAM-is-it-a-limit-of-your-library-tp5712425p5712494.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]