KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > finalist > jag > JagWriter


1 /* Copyright (C) 2003 Finalist IT Group
2  *
3  * This file is part of JAG - the Java J2EE Application Generator
4  *
5  * JAG is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * JAG is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  * You should have received a copy of the GNU General Public License
14  * along with JAG; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16  */

17
18 package com.finalist.jag;
19
20
21 /* Generated by Together */
22
23 /**
24  * Class JagWriter
25  *
26  *
27  * @author Wendel D. de Witte
28  * @version %I%, %G%
29  */

30 public abstract class JagWriter {
31
32    /**
33     * Constructor JagWriter
34     *
35     *
36     */

37    public JagWriter() {
38    }
39
40
41    /**
42     * Clear the contents of the buffer.
43     */

44    public abstract void clear();
45
46
47    /**
48     * Write a line separator.
49     */

50    public abstract void newLine();
51
52
53    /**
54     * Print a boolean value.
55     *
56     * @param b
57     */

58    public abstract void print(boolean b);
59
60
61    /**
62     * Print a character.
63     *
64     * @param c
65     */

66    public abstract void print(char c);
67
68
69    /**
70     * Print an array of characters.
71     *
72     * @param s
73     */

74    public abstract void print(char[] s);
75
76
77    /**
78     * Print a double-precision floating-point number.
79     *
80     * @param d
81     */

82    public abstract void print(double d);
83
84
85    /**
86     * Print a floating-point number.
87     *
88     * @param f
89     */

90    public abstract void print(float f);
91
92
93    /**
94     * Print an integer.
95     *
96     * @param i
97     */

98    public abstract void print(int i);
99
100
101    /**
102     * Print a long integer.
103     *
104     * @param l
105     */

106    public abstract void print(long l);
107
108
109    /**
110     * Print an object.
111     *
112     * @param obj
113     */

114    public abstract void print(java.lang.Object JavaDoc obj);
115
116
117    /**
118     * Print a string.
119     *
120     * @param s
121     */

122    public abstract void print(java.lang.String JavaDoc s);
123
124
125    /**
126     * Terminate the current line by writing the line separator string.
127     */

128    public abstract void println();
129
130
131    /**
132     * Print a boolean value and then terminate the line.
133     *
134     * @param x
135     */

136    public abstract void println(boolean x);
137
138
139    /**
140     * Print a character and then terminate the line.
141     *
142     * @param x
143     */

144    public abstract void println(char x);
145
146
147    /**
148     * Print an array of characters and then terminate the line.
149     *
150     * @param x
151     */

152    public abstract void println(char[] x);
153
154
155    /**
156     * Print a double-precision floating-point number and then terminate the line.
157     *
158     * @param x
159     */

160    public abstract void println(double x);
161
162
163    /**
164     * Print a floating-point number and then terminate the line.
165     *
166     * @param x
167     */

168    public abstract void println(float x);
169
170
171    /**
172     * Print an integer and then terminate the line.
173     *
174     * @param x
175     */

176    public abstract void println(int x);
177
178
179    /**
180     * Print a long integer and then terminate the line.
181     *
182     * @param x
183     */

184    public abstract void println(long x);
185
186
187    /**
188     * Print an Object and then terminate the line.
189     *
190     * @param x
191     */

192    public abstract void println(java.lang.Object JavaDoc x);
193
194
195    /**
196     * Print a String and then terminate the line.
197     *
198     * @param x
199     */

200    public abstract void println(java.lang.String JavaDoc x);
201
202
203    /**
204     * Method createNewFile
205     *
206     *
207     * @param path
208     *
209     */

210    public abstract void createNewFile(java.lang.String JavaDoc path);
211
212
213    /**
214     * Method createNewFile
215     *
216     *
217     * @param path
218     *
219     */

220    public abstract void createNewFile(java.lang.StringBuffer JavaDoc path);
221 }
222
223 ;
Popular Tags