• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Problem with JNI  RSS feed

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to extract the content of a word document.For this I am using microsoftword8 of .NET.

Now my problem is I am using FileInputStream in java to get the file input stream.Now in jni this is taken as an java object.But to extract the contents of word document I have to use microsoftword8 of .NET.Now this requires word Document object.

How do you convert the jni object i.e the java object to microsoft word parser object?

Thanks and regards,
Yathish.
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yatish,



I am trying to extract the content of a word document.For this I am using microsoftword8 of .NET.


We can directly read the word document like the way we read any other file from java.
- Sai
[ December 03, 2004: Message edited by: Sainath Veepuri ]
 
yathish Gatty
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
But I need to use the Microsoftword8 parser that is available only with .net.Therefore I am providing a bridge between java and .Net

Thanks.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look the jakarta POI project
they have a good api to read/write m$ office documents with java

http://www.javaworld.com/javaworld/jw-03-2004/jw-0322-poi.html

http://jakarta.apache.org/poi/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!