Class SourceCodeWriter

    • Field Summary

      • Fields inherited from class com.sun.codemodel.CodeWriter

        encoding
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceCodeWriter​(java.io.File target, java.lang.String comment)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.OutputStream openBinary​(com.sun.codemodel.JPackage pkg, java.lang.String fileName)  
      • Methods inherited from class com.sun.codemodel.writer.FileCodeWriter

        close, getFile
      • Methods inherited from class com.sun.codemodel.CodeWriter

        openSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceCodeWriter

        public SourceCodeWriter​(java.io.File target,
                                java.lang.String comment)
                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • 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.FileCodeWriter
        Throws:
        java.io.IOException