001package org.unix4j.io;
002
003import java.io.InputStream;
004import java.io.InputStreamReader;
005
006/**
007 * Input device reading from an {@link InputStream}.
008 */
009public class StreamInput extends ReaderInput {
010        /**
011         * Constructor with stream forming the basis of this input device.
012         * 
013         * @param in
014         *            the input stream to read from
015         */
016        public StreamInput(InputStream in) {
017                super(new InputStreamReader(in), false);
018        }
019}