com.sun.tools.xjc
Class ProgressCodeWriter
java.lang.Object
com.sun.codemodel.CodeWriter
com.sun.codemodel.writer.FilterCodeWriter
com.sun.tools.xjc.ProgressCodeWriter
final class ProgressCodeWriter
- extends com.sun.codemodel.writer.FilterCodeWriter
CodeWriter
that reports progress to XJCListener
.
Fields inherited from class com.sun.codemodel.writer.FilterCodeWriter |
core |
Method Summary |
java.io.OutputStream |
openBinary(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
|
java.io.Writer |
openSource(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
|
Methods inherited from class com.sun.codemodel.writer.FilterCodeWriter |
close |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressCodeWriter
public ProgressCodeWriter(com.sun.codemodel.CodeWriter output,
XJCListener progress)
openSource
public java.io.Writer openSource(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
throws java.io.IOException
- Overrides:
openSource
in class com.sun.codemodel.writer.FilterCodeWriter
- Throws:
java.io.IOException
openBinary
public java.io.OutputStream openBinary(com.sun.codemodel.JPackage pkg,
java.lang.String fileName)
throws java.io.IOException
- Overrides:
openBinary
in class com.sun.codemodel.writer.FilterCodeWriter
- Throws:
java.io.IOException