Class AutoClosableDocument

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class AutoClosableDocument
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      AutoClosableDocument​(com.lowagie.text.Document document)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void open()  
      protected void throwIOException​(com.lowagie.text.ExceptionConverter ex)  
      • Methods inherited from class java.lang.Object

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

      • AutoClosableDocument

        public AutoClosableDocument​(com.lowagie.text.Document document)
    • Method Detail

      • open

        public void open()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException
      • throwIOException

        protected void throwIOException​(com.lowagie.text.ExceptionConverter ex)
                                 throws java.io.IOException
        Throws:
        java.io.IOException