public final class FilerCodeWriter extends CodeWriter
CodeWriter that generates source code to Filer.encoding| Constructor and Description |
|---|
FilerCodeWriter(Filer filer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OutputStream |
openBinary(JPackage pkg,
String fileName) |
Writer |
openSource(JPackage pkg,
String fileName) |
public FilerCodeWriter(Filer filer)
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException
openBinary in class CodeWriterIOExceptionpublic Writer openSource(JPackage pkg, String fileName) throws IOException
openSource in class CodeWriterIOExceptionpublic void close()
close in class CodeWriterCopyright © 2015 Oracle Corporation. All Rights Reserved.