Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting Document object to InputStream  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!