KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com4j > tlbimp > CodeWriter


1 package com4j.tlbimp;
2
3 import java.io.File JavaDoc;
4 import java.io.IOException JavaDoc;
5
6 /**
7  * {@link Generator} uses this interface to create output.
8  *
9  * @author Kohsuke Kawaguchi (kk@kohsuke.org)
10  */

11 public interface CodeWriter {
12     /**
13      * Creates a new {@link IndentingWriter} used to write the given
14      * source code / HTML file, etc.
15      *
16      * @param file
17      * A relative File like "org/acme/Foo.java". The callee is
18      * expected to absolutize.
19      */

20     IndentingWriter create( File JavaDoc file ) throws IOException JavaDoc;
21 }
22
Popular Tags