/** * Create an InputStreamReader that uses the named character encoding. * * @param is An InputStream * @param enc The name of a supported * @exception UnsupportedEncodingException If the named encoding is not supported */ public InputStreamReader(InputStream is, String enc) throws UnsupportedEncodingException { in = Helper.getStreamReader(is, enc); }
/** * Create an InputStreamReader that uses the default character encoding. * * @param is An InputStream */ public InputStreamReader(InputStream is) { in = Helper.getStreamReader(is); }