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 CodeWriter
CodeWriter that generates source code to Filer.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilerCodeWriter
public FilerCodeWriter(Filer filer)
openBinary
public OutputStream openBinary(JPackage pkg,
String fileName)
throws IOException
- Specified by:
openBinary in class CodeWriter
- Throws:
IOException
openSource
public Writer openSource(JPackage pkg,
String fileName)
throws IOException
- Overrides:
openSource in class CodeWriter
- Throws:
IOException
close
public void close()
- Specified by:
close in class CodeWriter
Copyright © 2014 Oracle Corporation. All Rights Reserved.