I have project which require reading content of microsoft office word. My question is : does google app engine support apache poi?
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- __call__() missing 1 required positional argument:
- Upload file to Google Cloud Storage using AngularJ
- Where is the best place to put one-time and every-
- facebook “could not retrieve data from URL”
相关文章
- Is there a size limit for HTTP response headers on
- appcfg.py command not found
- Google app engine datastore string encoding proble
- Angular route not working when used with Google Ap
- Doctrine not finding data on Google App Engine?
- Using OkHttp client via OKClient on Google App Eng
- Google appEngine: 404 when accessing /_ah/api [dup
-
Google App Engine Error:
INVALID_ARGUMENT
I've had success with Apache POI and reading and writing powerpoint presentations on GAE. The important thing is to avoid calls in POI that would invoke the security restricted java.awt classes. For reading content from a document, java.awt files are avoided so you should be fine. For writing content to a document, this is where you have to be careful. I use a predefined template and adjust the text and fonts directly. This avoids java.awt calls. If you try to create a new PPT document using an existing document as a template (as shown in the POI examples), this will fail due to java.awt calls and GAE prohibiting them. Your mileage may vary using Word docs as I imagine there are less graphical library calls.
You'll probably struggle with new Document formats like Word 2010 and you'll obviously have to use URLfetch / Google Cloud Storage / Blobstore for working with the files. GAE doesn't support native file access.
how to read an excel file on google app engine
http://web.archive.org/web/20100910011509/http://www.z80.fr/2010/03/30/google-app-engine/how-to-generate-excel-files-on-google-app-engine/
Seems some ppl have made poi work on gae by resolving the dependancy errors as they come up, but three are orher ways too,as per second link.gl