Java BufferedWriter Create getBufferedWriter(OutputStream os)

Here you can find the source of getBufferedWriter(OutputStream os)

Description

get Buffered Writer

License

Open Source License

Declaration

public static BufferedWriter getBufferedWriter(OutputStream os) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.BufferedWriter;

import java.io.OutputStream;
import java.io.OutputStreamWriter;

public class Main {

    public static BufferedWriter getBufferedWriter(OutputStream os) {
        return new BufferedWriter(new OutputStreamWriter(os));
    }// w w  w.  j av  a  2s . c  om
}

Related

  1. getBufferedWriter(File f)
  2. getBufferedWriter(File file)
  3. getBufferedWriter(final Writer out)
  4. getBufferedWriter(String directory, String filename)
  5. getBufferedWriter(String file)
  6. getBufferedWriter(String file, String fileCharset)
  7. getBufferedWriter(String filePath, String encoding)