1 /*******************************************************************************
2 
3         Copyright:
4             Copyright (c) 2007 Kris Bell.
5             Some parts copyright (c) 2009-2016 dunnhumby Germany GmbH.
6             All rights reserved.
7 
8         License:
9             Tango Dual License: 3-Clause BSD License / Academic Free License v3.0.
10             See LICENSE_TANGO.txt for details.
11 
12         Version: Initial release: Oct 2007
13 
14         Authors: Kris
15 
16 *******************************************************************************/
17 
18 module ocean.io.stream.Text;
19 
20 import ocean.io.stream.Lines;
21 
22 import ocean.io.stream.Format;
23 
24 import ocean.io.stream.Buffered;
25 
26 import ocean.io.model.IConduit;
27 
28 /*******************************************************************************
29 
30         Input is buffered.
31 
32 *******************************************************************************/
33 
34 class TextInput : Lines
35 {
36         /**********************************************************************
37 
38         **********************************************************************/
39 
40         this (InputStream input)
41         {
42                 super (input);
43         }
44 }
45 
46 /*******************************************************************************
47 
48         Output is buffered.
49 
50 *******************************************************************************/
51 
52 class TextOutput : FormatOutput
53 {
54         /**********************************************************************
55 
56                 Construct a FormatOutput instance, tying the provided stream
57                 to a layout formatter.
58 
59         **********************************************************************/
60 
61         this (OutputStream output)
62         {
63                 super (BufferedOutput.create(output));
64         }
65 }