KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > generators > Output


1 /*
2  * Created on May 20, 2006
3  */

4 package com.openedit.generators;
5
6 import java.io.OutputStream JavaDoc;
7 import java.io.Writer JavaDoc;
8
9 public class Output
10 {
11     Writer JavaDoc fieldWriter;
12     OutputStream JavaDoc fieldStream;
13     
14     public Output()
15     {
16         
17     }
18     
19     public Output(Writer JavaDoc inOut, OutputStream JavaDoc inStream)
20     {
21         fieldWriter = inOut;
22         fieldStream = inStream;
23     }
24     public OutputStream JavaDoc getStream()
25     {
26         return fieldStream;
27     }
28     public void setStream(OutputStream JavaDoc inStream)
29     {
30         fieldStream = inStream;
31     }
32     public Writer JavaDoc getWriter()
33     {
34         return fieldWriter;
35     }
36     public void setWriter(Writer JavaDoc inWriter)
37     {
38         fieldWriter = inWriter;
39     }
40     
41 }
42
Popular Tags