KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > web > oracle > OracleWRBOutput


1 /*
2  * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/web/oracle/Attic/OracleWRBOutput.java,v 1.6 2000/05/29 15:24:54 alex Exp $
3  *
4  */

5 package com.teamkonzept.web.oracle;
6
7 import oracle.html.*;
8
9 import com.teamkonzept.web.*;
10
11 public class OracleWRBOutput extends TKPseudoOutputStream {
12     HtmlStream stream;
13
14     /**
15      * Die Klasse implementiert das Interface TKHttpOutputStream
16      * im File TKHttp.java zur spaeteren Benutzung fuer TKHttp.println().
17      * Diese methode wird in der Klasse TKHttp als static definiert.
18      */

19     public OracleWRBOutput()
20     {
21         this( HtmlStream.theStream() );
22     }
23     
24     public OracleWRBOutput( HtmlStream stream )
25     {
26         this.stream = stream;
27     }
28     
29     public final void write( String JavaDoc s )
30     {
31         stream.print( s );
32     
33     }
34     
35     //{{DECLARE_CONTROLS
36
//}}
37
}
38
39
Popular Tags