private static void createReader(InputStream inputStream){
  try {
    closeReader();
    Reader iReader=new InputStreamReader(inputStream,"UTF-8");
    reader=new BufferedReader(iReader);
  }
 catch (  UnsupportedEncodingException e) {
    e.printStackTrace();
  }
}

private static void createReader ( InputStream inputStream ) { try { closeReader ( ) ; Reader iReader = new InputStreamReader ( inputStream , "UTF-8" ) ; reader = new BufferedReader ( iReader ) ; } catch ( UnsupportedEncodingException e ) { e . printStackTrace ( ) ; } }
create a buffered reader to read from an input stream .
