Java BufferedReader Create getBufferedReader(InputStream inputStream, String charsetName)

Here you can find the source of getBufferedReader(InputStream inputStream, String charsetName)

Description

get Buffered Reader

License

Open Source License

Declaration

private static BufferedReader getBufferedReader(InputStream inputStream, String charsetName)
        throws UnsupportedEncodingException 

Method Source Code


//package com.java2s;
import java.io.BufferedReader;

import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;

public class Main {

    private static BufferedReader getBufferedReader(InputStream inputStream, String charsetName)
            throws UnsupportedEncodingException {
        return new BufferedReader(new InputStreamReader(inputStream, charsetName));
    }/*from   w  w w.  j a  v a  2s  .c  o m*/
}

Related

  1. getBufferedReader(File file, String charset)
  2. getBufferedReader(File file, String encoding)
  3. getBufferedReader(final File file)
  4. getBufferedReader(final InputStream inputstream)
  5. getBufferedReader(InputStream inputStream)
  6. getBufferedReader(InputStream stream, String charset)
  7. getBufferedReader(Reader r)
  8. getBufferedReader(Reader rd)
  9. getBufferedReader(String directory, String filename)