5 ways to convert InputStream to String in Java
Anonymous said... Don't forget to be sure the whole stream FITS nicely in memory. There's usually a reason things are a stream! August 25, 2012 at 9:42 AM Anonymous said... Using Java 7: java.nio.file.Files#readAllLines see: http://docs.oracle.com/javase/
javarevisited.blogspot.com |