 |
java - Read/convert an InputStream to a String - Stack Overflow
If you have java.io.InputStream object, how should you process that object and produce a String? ... Is for Java 7 or higher. What the for? public static String convertStreamToString(InputStream is) { StringBuilder sb = new StringBuilder(2048); // Define
stackoverflow.com |
 |