| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public static void | |
| public void | setField(PDDocument
The PDF to set the field in. pdfDocument, String The name of the field to set. name, String The new value of the field. value)This will set a single field in the document. |
| private void | |
| private static void |
| SetField | back to summary |
|---|---|
| public SetField() | |
| calculateOutputFilename | back to summary |
|---|---|
| private static String calculateOutputFilename(String filename) | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws IOException This will read a PDF file and set a field and then write it the pdf out
again.
| |
| setField | back to summary |
|---|---|
| public void setField(PDDocument pdfDocument, String name, String value) throws IOException This will set a single field in the document.
| |
| setField | back to summary |
|---|---|
| private void setField(String[] args) throws IOException | |
| usage | back to summary |
|---|---|
| private static void usage() This will print out a message telling how to use this example. | |