001package org.unix4j.io; 002 003import java.io.OutputStream; 004import java.io.OutputStreamWriter; 005 006/** 007 * Output device writing to an {@link OutputStream}. 008 */ 009public class StreamOutput extends WriterOutput { 010 /** 011 * Constructor with stream to be written to. 012 * 013 * @param out 014 * the output stream to write to 015 */ 016 public StreamOutput(OutputStream out) { 017 super(new OutputStreamWriter(out), false); 018 } 019}