Package io.keikai.model.impl.pdf
Class AutoClosableDocument
- java.lang.Object
-
- io.keikai.model.impl.pdf.AutoClosableDocument
-
- All Implemented Interfaces:
AutoCloseable
public class AutoClosableDocument extends Object implements 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)
-
-
-
Method Detail
-
open
public void open()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
throwIOException
protected void throwIOException(com.lowagie.text.ExceptionConverter ex) throws IOException
- Throws:
IOException
-
-