12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
/*******************************************************************************

        copyright:      Copyright (c) 2007 Kris Bell. All rights reserved

        license:        BSD style: $(LICENSE)

        version:        Initial release: Oct 2007

        author:         Kris

*******************************************************************************/

module tango.io.stream.Text;

private import tango.io.stream.Lines;

private import tango.io.stream.Format;

private import tango.io.stream.Buffered;

private import tango.io.model.IConduit;

/*******************************************************************************

        Input is buffered.

*******************************************************************************/

class TextInput : Lines!(char)
{
        /**********************************************************************

        **********************************************************************/

        this (InputStream input)
        {
                super (input);
        }
}

/*******************************************************************************

        Output is buffered.

*******************************************************************************/

class TextOutput : FormatOutput!(char)
{
        /**********************************************************************

                Construct a FormatOutput instance, tying the provided stream
                to a layout formatter.

        **********************************************************************/

        this (OutputStream output)
        {
                super (BufferedOutput.create(output));
        }
}