如何在java中打开ms office应用程序.doc,.xls等? [英] how to open an ms office application either .doc,.xls,etc in java??
问题描述
如何在java中打开.doc,.xls等ms办公室应用程序?
im java新增功能所以不知道如何打开.doc或.txt文件使用java。
如何打开ms office应用程序.doc,.xls等在java ??
im new java,所以不知道如何使用java打开.doc或.txt文件。
打开.txt很简单。阅读有关FileReader或Scanner的基本io教程。对于.doc或.xls,它需要更多处理,因为数据可以采用许多不同的形式。如果您是Java新手,您可能不想自己这样做。您可以使用第二方软件包,如poi,lucene,itext等。
plz为我提供确切的代码plz .....
< blockquote class =post_quotes>
打开.txt很简单。阅读有关FileReader或Scanner的基本io教程。对于.doc或.xls,它需要更多处理,因为数据可以采用许多不同的形式。如果您是Java新手,您可能不想自己这样做。您可以使用第二方软件包,如poi,lucene,itext等。
plz为我提供了确切的信息。 code plz .....
阅读教程并自己编写代码。如果您遇到问题我们可以提供协助,如果您不付出任何努力,不要为您编写代码。请参阅指南。
how to open an ms office application either .doc,.xls,etc in java??
i m new at java so don''t know how to open a .doc or .txt file using java .
how to open an ms office application either .doc,.xls,etc in java??
i m new at java so don''t know how to open a .doc or .txt file using java .Opening a .txt is easy. Read a basic io tutorial that talks about FileReader or Scanner. For .doc or .xls, it requires a bit more processing since the data can take many different forms. If you''re new to Java you might not want to do this yourself yet. You can use third party packages like poi, lucene, itext e.t.c
plz provide me with the exact code plz.....
Opening a .txt is easy. Read a basic io tutorial that talks about FileReader or Scanner. For .doc or .xls, it requires a bit more processing since the data can take many different forms. If you''re new to Java you might not want to do this yourself yet. You can use third party packages like poi, lucene, itext e.t.c
plz provide me with the exact code plz.....Read the tutorial and write the code yourself. We can assist if you get problems with it not to write codes for you without you putting any effort. See the guidelines.
这篇关于如何在java中打开ms office应用程序.doc,.xls等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!