Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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/
 
Oh the stink of it! Smell my tiny ad!
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!