public abstract class AbstractExample
extends java.lang.Object
Constructor and Description |
---|
AbstractExample() |
Modifier and Type | Method and Description |
---|---|
void |
close(COSDocument doc)
Close the document.
|
static void |
close(COSWriter writer)
Close the writer.
|
void |
close(java.io.InputStream stream)
Close the stream.
|
void |
close(java.io.OutputStream stream)
Close the stream.
|
void |
close(PDDocument doc)
Close the document.
|
public void close(java.io.InputStream stream) throws java.io.IOException
stream
- The stream to close.java.io.IOException
- If there is an error closing the stream.public void close(java.io.OutputStream stream) throws java.io.IOException
stream
- The stream to close.java.io.IOException
- If there is an error closing the stream.public void close(COSDocument doc) throws java.io.IOException
doc
- The doc to close.java.io.IOException
- If there is an error closing the document.public void close(PDDocument doc) throws java.io.IOException
doc
- The doc to close.java.io.IOException
- If there is an error closing the document.public static void close(COSWriter writer) throws java.io.IOException
writer
- The writer to close.java.io.IOException
- If there is an error closing the writer.