Starting with MS Office 2007, Excel files are saved in Office Open XML ( .xlsx ) by default. Create such a file with any content, rename it to .zip and take a look inside. This is a bunch of folders and XML files compressed together.
Java provides support for creating zip files using java.util.zip . And thatβs all you need.
source share