Read File to String in Java

While working on Files, We might need to save the complete file content to String. We can do this in many ways, by using Apache Commons IO, Scanner, Buffered Reader, Data Input Stream and Java 7 Files class.

 

harinathk
 

Click Here to Leave a Comment Below 0 comments