开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜