|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.examples.pdmodel.RubberStampWithImage
public class RubberStampWithImage
This is an example on how to add a rubber stamp with an image to pages of a PDF document.
Constructor Summary | |
---|---|
RubberStampWithImage()
|
Method Summary | |
---|---|
void |
doIt(java.lang.String[] args)
Add a rubber stamp with an jpg image to every page of the given document. |
static void |
main(java.lang.String[] args)
This creates an instance of RubberStampWithImage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RubberStampWithImage()
Method Detail |
---|
public void doIt(java.lang.String[] args) throws java.io.IOException
args
- the command line arguments
java.io.IOException
- an exception is thrown if something went wrongpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments.
java.lang.Exception
- If there is an error parsing the document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |