|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.util.PdfUtil
public class PdfUtil
User: Yohann Chastagnier Date: 08/07/13
Constructor Summary | |
---|---|
PdfUtil()
|
Method Summary | |
---|---|
static void |
stamp(File pdfSource,
File stampImage,
File pdfDestination)
Add a image stamp on each page of a PDF file. |
static void |
stamp(InputStream pdfSource,
File stampImage,
OutputStream pdfDestination)
Add a image stamp on each page of a PDF file. |
static void |
watermark(File pdfSource,
File watermarkImage,
File pdfDestination)
Add a image watermark on each page of a PDF file. |
static void |
watermark(InputStream pdfSource,
File watermarkImage,
OutputStream pdfDestination)
Add a image watermark on each page of a PDF file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PdfUtil()
Method Detail |
---|
public static void stamp(File pdfSource, File stampImage, File pdfDestination)
pdfSource
- the source pdf file, this content is not modified by this methodstampImage
- the stamp image filepdfDestination
- the destination pdf file, with the stamp in its foregroundpublic static void stamp(InputStream pdfSource, File stampImage, OutputStream pdfDestination)
pdfSource
- the source pdf file, this content is not modified by this methodstampImage
- the stamp image filepdfDestination
- the destination pdf file, with the stamp in its foregroundpublic static void watermark(File pdfSource, File watermarkImage, File pdfDestination)
pdfSource
- the source pdf file, this content is not modified by this methodwatermarkImage
- the watermark image filepdfDestination
- the destination pdf file, with the watermark in its backgroundpublic static void watermark(InputStream pdfSource, File watermarkImage, OutputStream pdfDestination)
pdfSource
- the source pdf file, this content is not modified by this methodwatermarkImage
- the watermark image filepdfDestination
- the destination pdf file, with the watermark in its background
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |