|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.examples.AbstractExample
A simple class which has some methods used by all examples.
| Constructor Summary | |
AbstractExample()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractExample()
| Method Detail |
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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||