public abstract class AbstractExample extends Object
| Constructor and Description |
|---|
AbstractExample() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.pdfbox.cos.COSDocument doc)
Close the document.
|
static void |
close(org.apache.pdfbox.pdfwriter.COSWriter writer)
Close the writer.
|
void |
close(InputStream stream)
Close the stream.
|
void |
close(OutputStream stream)
Close the stream.
|
void |
close(org.apache.pdfbox.pdmodel.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(org.apache.pdfbox.cos.COSDocument doc)
throws IOException
doc - The doc to close.IOException - If there is an error closing the document.public void close(org.apache.pdfbox.pdmodel.PDDocument doc)
throws IOException
doc - The doc to close.IOException - If there is an error closing the document.public static void close(org.apache.pdfbox.pdfwriter.COSWriter writer)
throws IOException
writer - The writer to close.IOException - If there is an error closing the writer.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.