Java Text File Read by Charset getInputStreamReader(InputStream stream, Charset charset)

Here you can find the source of getInputStreamReader(InputStream stream, Charset charset)

Description

get Input Stream Reader

License

LGPL

Declaration

public static InputStreamReader getInputStreamReader(InputStream stream, Charset charset) 

Method Source Code

//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
}

Related

  1. createBufferedReaderWithGuessedCharset(File file)
  2. createInputStreamReader(File file, String charsetName)
  3. createReader(Path p, Charset cs)
  4. getDecoder(Charset charset, ThreadLocal> localDecoder)
  5. getFileContent(IFile file, String charset)
  6. getReader(InputStream in, String charsetName)
  7. getReader(InputStream is, String charset)
  8. getReader(String fileName, Charset cs)
  9. getReader(String path, Charset encoding)