public class ProgressCodeWriter extends FilterCodeWriter
| Constructor and Description |
|---|
ProgressCodeWriter(AbstractCodeWriter output,
PrintStream progress) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
openBinary(JPackage pkg,
String fileName)
Called by CodeModel to store the specified file.
|
Writer |
openSource(JPackage pkg,
String fileName)
Called by CodeModel to store the specified file.
|
close, coreencodingpublic ProgressCodeWriter(@Nonnull AbstractCodeWriter output, @Nonnull PrintStream progress)
public OutputStream openBinary(@Nonnull JPackage pkg, @Nonnull String fileName) throws IOException
AbstractCodeWriteropenBinary in class FilterCodeWriterpkg - The package of the file to be written.fileName - File name without the path. Something like "Foo.java" or
"Bar.properties"IOException - On IO errorpublic Writer openSource(@Nonnull JPackage pkg, @Nonnull String fileName) throws IOException
AbstractCodeWriteropenSource in class FilterCodeWriterpkg - The package of the file to be written.fileName - File name without the path. Something like "Foo.java" or
"Bar.properties"IOException - On IO errorCopyright © 2013–2015 Philip Helger. All rights reserved.