How to get values from Open office spreadsheet?
How to get the values from spread sheet? I would like to read from using java language?开发者_Go百科
OpenOffice documents are Zipped XML files. Copy one, rename it to .zip, open it and look into the XML & you'll see the data in the cells.
To access one using Java code:
- Use ZipInputStream to get access to the XML.
- Then use any of the slew of XML APIs in J2SE (DOM, Sax etc.) to parse it.
Use OpenOffice.org UNO API.
精彩评论