com.sun.tools.xjc

Class ProgressCodeWriter

final class ProgressCodeWriter extends FilterCodeWriter

CodeWriter that reports progress to XJCListener.
Constructor Summary
ProgressCodeWriter(CodeWriter output, XJCListener progress, int totalFileCount)
Method Summary
OutputStreamopenBinary(JPackage pkg, String fileName)
WriteropenSource(JPackage pkg, String fileName)

Constructor Detail

ProgressCodeWriter

public ProgressCodeWriter(CodeWriter output, XJCListener progress, int totalFileCount)

Method Detail

openBinary

public OutputStream openBinary(JPackage pkg, String fileName)

openSource

public Writer openSource(JPackage pkg, String fileName)