Here you can find the source of getInputStreamReader(InputStream stream, Charset charset)
public static InputStreamReader getInputStreamReader(InputStream stream, Charset charset)
//package com.java2s; //License from project: LGPL import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; public class Main { public static InputStreamReader getInputStreamReader(InputStream stream, Charset charset) { return new InputStreamReader(stream, charset); }//ww w . j a v a 2s. co m }