XFDF로 내보내기
Contents
[
Hide
]
양식 필드 데이터를 XFDF로 쓰려면 FormExamples.exportXfdf(...)를 사용하세요.
public static void exportXfdf(Path inputFile, Path outputFile) throws Exception {
Form form = new Form();
try (OutputStream outputStream = Files.newOutputStream(outputFile)) {
form.bindPdf(inputFile.toString());
form.exportXfdf(outputStream);
} finally {
form.close();
}
}