private String readContents ( InputStream is ) throws IOException { return new String ( readBytes ( is ) , CDM . utf8Charset ) ; }
Read in the bytes from the given InputStream and construct and return a String . Closes the InputStream argument .