com.sun.tools.ws.wscompile
Class FilerCodeWriter

java.lang.Object
  extended by com.sun.codemodel.CodeWriter
      extended by com.sun.codemodel.writer.FileCodeWriter
          extended by com.sun.tools.ws.wscompile.WSCodeWriter
              extended by com.sun.tools.ws.wscompile.FilerCodeWriter

public class FilerCodeWriter
extends WSCodeWriter

Writes all the source files using the specified Filer.


Constructor Summary
FilerCodeWriter(File outDir, WsgenOptions options)
           
 
Method Summary
 void close()
           
 Writer openSource(com.sun.codemodel.JPackage pkg, String fileName)
           
 
Methods inherited from class com.sun.tools.ws.wscompile.WSCodeWriter
getFile
 
Methods inherited from class com.sun.codemodel.writer.FileCodeWriter
openBinary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilerCodeWriter

public FilerCodeWriter(File outDir,
                       WsgenOptions options)
                throws IOException
Throws:
IOException
Method Detail

openSource

public Writer openSource(com.sun.codemodel.JPackage pkg,
                         String fileName)
                  throws IOException
Overrides:
openSource in class com.sun.codemodel.CodeWriter
Throws:
IOException

close

public void close()
           throws IOException
Overrides:
close in class com.sun.codemodel.writer.FileCodeWriter
Throws:
IOException