public abstract class AbstractExample extends 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(InputStream stream)
Close the stream.
|
void |
close(OutputStream stream)
Close the stream.
|
void |
close(PDDocument doc)
Close the document.
|
public void close(InputStream stream) throws IOException
stream
- The stream to close.IOException
- If there is an error closing the stream.public void close(OutputStream stream) throws IOException
stream
- The stream to close.IOException
- If there is an error closing the stream.public void close(COSDocument doc) throws IOException
doc
- The doc to close.IOException
- If there is an error closing the document.public void close(PDDocument doc) throws IOException
doc
- The doc to close.IOException
- If there is an error closing the document.public static void close(COSWriter writer) throws IOException
writer
- The writer to close.IOException
- If there is an error closing the writer.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.