|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jfw.pdf.PdfCreator
com.jfw.pdf.Pdf2Pdf
public final class Pdf2Pdf
Create a pdf file using a pdf template.
A pdf template is pdf file with fields that can be valorized.
| Constructor Summary | |
|---|---|
Pdf2Pdf(java.lang.String pdfFile,
java.util.HashMap correlationMap)
Create an instance. |
|
Pdf2Pdf(java.lang.String path,
java.lang.String fileName,
java.util.HashMap correlationMap)
Create an instance. |
|
| Method Summary | |
|---|---|
void |
create()
Create the pdf. |
java.lang.Object |
get()
Get pdf content. |
java.lang.String |
getPdfFieldNames(java.lang.String separator)
Get pdf field names. |
java.util.HashMap |
getPdfFields()
Return the fields found in pdf template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pdf2Pdf(java.lang.String pdfFile,
java.util.HashMap correlationMap)
pdfFile - the name of the pdf file template with absolute path.correlationMap - the container of pdf templates fields (keys) and values.
public Pdf2Pdf(java.lang.String path,
java.lang.String fileName,
java.util.HashMap correlationMap)
path - the path of the file.fileName - the name of the pdf file template.correlationMap - the container of pdf templates fields (keys) and values.| Method Detail |
|---|
public void create()
throws java.lang.Exception
create in class PdfCreatorjava.lang.Exception
public java.lang.Object get()
throws java.lang.Exception
get in class PdfCreatorjava.lang.Exceptionpublic java.util.HashMap getPdfFields()
public java.lang.String getPdfFieldNames(java.lang.String separator)
separator - the separator string to distinguish the fields.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||