public static final class ConfigInjectorGenerator.FilerCodeWriter
extends com.sun.codemodel.CodeWriter
CodeWriter
that generates source code to Filer
.Constructor and Description |
---|
FilerCodeWriter(Filer filer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
OutputStream |
openBinary(com.sun.codemodel.JPackage pkg,
String fileName) |
Writer |
openSource(com.sun.codemodel.JPackage pkg,
String fileName) |
public FilerCodeWriter(Filer filer)
public OutputStream openBinary(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openBinary
in class com.sun.codemodel.CodeWriter
IOException
public Writer openSource(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openSource
in class com.sun.codemodel.CodeWriter
IOException
public void close()
close
in class com.sun.codemodel.CodeWriter
Copyright © 2021. All rights reserved.