|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.devkit.model.code.CodeWriter
public abstract class CodeWriter
Receives generated code and writes to the appropriate storage.
| Constructor Summary | |
|---|---|
CodeWriter()
|
|
| Method Summary | |
|---|---|
abstract void |
close()
Called by CodeModel at the end of the process. |
abstract 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodeWriter()
| Method Detail |
|---|
public abstract OutputStream openBinary(GeneratedPackage pkg,
String fileName)
throws IOException
pkg - The package of the file to be written.fileName - File name without the path. Something like
"Foo.java" or "Bar.properties"
IOException
public Writer openSource(GeneratedPackage pkg,
String fileName)
throws IOException
pkg - The package of the file to be written.fileName - File name without the path. Something like
"Foo.java" or "Bar.properties"
IOException
public abstract void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||