Java BufferedReader Create getReader(String filePath, String charset)

Here you can find the source of getReader(String filePath, String charset)

Description

get Reader

License

Apache License

Declaration

public static BufferedReader getReader(String filePath, String charset) throws IOException 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.*;

public class Main {
    public static BufferedReader getReader(String filePath, String charset) throws IOException {
        return new BufferedReader(new InputStreamReader(new FileInputStream(filePath), charset));
    }//from w  ww  .jav  a  2s.com
}

Related

  1. getReader(InputStream is)
  2. getReader(String fileDir, String fileName, String encoding)
  3. getReader(String filename)
  4. getReader(String filename)
  5. getReader(String filename)
  6. getReader(String Path)
  7. getReader(String path)
  8. getReader(String path, String charEncoding)
  9. getReader(String path, String charEncoding)