Class BeanGenerator.ClosableSourceCodeWriter

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    BeanGenerator

    public class BeanGenerator.ClosableSourceCodeWriter
    extends SourceCodeWriter
    implements java.lang.AutoCloseable
    • Field Summary

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

        encoding
    • Constructor Summary

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

      • 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
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Constructor Detail

      • ClosableSourceCodeWriter

        public ClosableSourceCodeWriter​(java.io.File target,
                                        java.lang.String comment)
                                 throws java.io.IOException
        Throws:
        java.io.IOException