Just about every possible operation is shown with examples in the POI documentation, including opening an XLS file, accessing a sheet, creating a new workbook and sheet, and saving it. Does that cover what you need to do?
posted 8 years ago
Ulf is right, if you just need an exact copy of the file, you can simply use java.io.
But if you need to read the contents and make some modifications before making the copy, then you will have to work with POI or JExcel.
I strongly suggest that you checkout JExcel. Its API to read excel documents is much simpler (IMO).