1 package com4j.tlbimp;2 3 import java.io.File ;4 import java.io.IOException ;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 given14 * source code / HTML file, etc.15 *16 * @param file17 * A relative File like "org/acme/Foo.java". The callee is18 * expected to absolutize.19 */20 IndentingWriter create( File file ) throws IOException ;21 }22