• Post Reply Bookmark Topic Watch Topic
  • New Topic

URGENT!!! InputStreamReader  RSS feed

 
Hets Mehta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how do I ocnvert InputStreamReader to String?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Welcome to JavaRanch!
"Convert" it to a string? For what purpose? Do you mean "How do I read a String from an InputStreamReader?" One way would be to use a BufferedReader:
 
Hets Mehta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the idea...I got this working by using StringWriter
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!