public class FileCodeWriter extends Object implements CodeWriter
Constructor and Description |
---|
FileCodeWriter(File outDir) |
Modifier and Type | Method and Description |
---|---|
IndentingWriter |
create(File file)
Creates a new
IndentingWriter used to write the given
source code / HTML file, etc. |
public FileCodeWriter(File outDir)
public IndentingWriter create(File file) throws IOException
CodeWriter
IndentingWriter
used to write the given
source code / HTML file, etc.create
in interface CodeWriter
file
- A relative File like "org/acme/Foo.java". The callee is
expected to absolutize.IOException
Copyright © 2014. All rights reserved.