View Single Post
Join Date: Apr 2008
Posts: 2
Reputation: tte is an unknown quantity at this point 
Solved Threads: 0
tte tte is offline Offline
Newbie Poster

I/O Binary stream

 
0
  #1
Nov 19th, 2008
Hi.

I've built a HttpServlet that catch a request and parse a web page using InputStream, InputStreamReader and PrintWriter changing some content along the way and output it as a response. Everything works like a charm (parsing html, css, gif, jpg, aso) except for png images.

Since png's are binary files (correct me if I'm wrong) my guess is i need to use something other than InputStream, InputStreamReader and PrintWriter to parse the png's. But what and how do I use it?

Thanks in advance.
Reply With Quote