org.jvnet.hk2.config.generator
Class ConfigInjectorGenerator.FilerCodeWriter
java.lang.Object
com.sun.codemodel.CodeWriter
org.jvnet.hk2.config.generator.ConfigInjectorGenerator.FilerCodeWriter
- Enclosing class:
- ConfigInjectorGenerator
public static final class ConfigInjectorGenerator.FilerCodeWriter
- extends com.sun.codemodel.CodeWriter
CodeWriter that generates source code to Filer.
- Author:
- Kohsuke Kawaguchi
Moved from jaxb-xjc to break unneeded dependency.
| Fields inherited from class com.sun.codemodel.CodeWriter |
encoding |
|
Method Summary |
void |
close()
|
java.io.OutputStream |
openBinary(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
|
java.io.Writer |
openSource(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigInjectorGenerator.FilerCodeWriter
public ConfigInjectorGenerator.FilerCodeWriter(javax.annotation.processing.Filer filer)
openBinary
public java.io.OutputStream openBinary(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
throws java.io.IOException
- Specified by:
openBinary in class com.sun.codemodel.CodeWriter
- Throws:
java.io.IOException
openSource
public java.io.Writer openSource(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
throws java.io.IOException
- Overrides:
openSource in class com.sun.codemodel.CodeWriter
- Throws:
java.io.IOException
close
public void close()
- Specified by:
close in class com.sun.codemodel.CodeWriter
Copyright © 2013 Oracle Corporation. All Rights Reserved.