public static String readTextFile ( InputStream inputStream ) { InputStreamReader streamReader = new InputStreamReader ( inputStream ) ; return readTextFile ( streamReader ) ; }
Read a text stream into a single string .