public class ProgressCodeWriter extends FilterCodeWriter
core| Constructor and Description |
|---|
ProgressCodeWriter(CodeWriter output,
PrintStream progress) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
openBinary(GeneratedPackage pkg,
String fileName)
Called by CodeModel to store the specified file.
|
Writer |
openSource(GeneratedPackage pkg,
String fileName)
Called by CodeModel to store the specified file.
|
closepublic ProgressCodeWriter(CodeWriter output, PrintStream progress)
public OutputStream openBinary(GeneratedPackage pkg, String fileName) throws IOException
CodeWriteropenBinary in class FilterCodeWriterpkg - The package of the file to be written.fileName - File name without the path. Something like
"Foo.java" or "Bar.properties"IOExceptionpublic Writer openSource(GeneratedPackage pkg, String fileName) throws IOException
CodeWriteropenSource in class FilterCodeWriterpkg - The package of the file to be written.fileName - File name without the path. Something like
"Foo.java" or "Bar.properties"IOExceptionCopyright © 2010–2015 MuleSoft, Inc.. All rights reserved.