com.sun.tools.xjc.api.util
Class FilerCodeWriter
java.lang.Object
com.sun.codemodel.CodeWriter
com.sun.tools.xjc.api.util.FilerCodeWriter
public final class FilerCodeWriter
- extends com.sun.codemodel.CodeWriter
CodeWriter
that generates source code to Filer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilerCodeWriter
public FilerCodeWriter(com.sun.mirror.apt.Filer filer)
openBinary
public OutputStream openBinary(com.sun.codemodel.JPackage pkg,
String fileName)
throws IOException
- Specified by:
openBinary
in class com.sun.codemodel.CodeWriter
- Throws:
IOException
openSource
public Writer openSource(com.sun.codemodel.JPackage pkg,
String fileName)
throws IOException
- Overrides:
openSource
in class com.sun.codemodel.CodeWriter
- Throws:
IOException
close
public void close()
- Specified by:
close
in class com.sun.codemodel.CodeWriter