• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting Document object to InputStream

 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys,

I have a document object and I want to convert it to InputStream . If it possible then please let me know in brief. If not then I have other option to Convert from String to InputStream . I am trying the following but it gives me an error it might be class mismatch.

InputStream inputStream = new StringReader(data);

Please give your opinions

thanks in advance

gurpreet
 
Giordano Maestro
Greenhorn
Posts: 2
 
Giordano Maestro
Greenhorn
Posts: 2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic