MCPcopy Index your code
hub / github.com/apache/pdfbox / call

Method call

tools/src/main/java/org/apache/pdfbox/tools/ImportXFDF.java:97–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 public Integer call()
98 {
99 ImportXFDF importer = new ImportXFDF();
100 try (PDDocument pdf = Loader.loadPDF(infile);
101 FDFDocument fdf = Loader.loadXFDF(xfdffile))
102 {
103 importer.importFDF( pdf, fdf );
104
105 if (outfile == null)
106 {
107 outfile = infile;
108 }
109
110 pdf.save(outfile);
111 }
112 catch (IOException ioe)
113 {
114 SYSERR.println( "Error importing XFDF data [" + ioe.getClass().getSimpleName() + "]: " + ioe.getMessage());
115 return 4;
116 }
117 return 0;
118 }
119}

Callers

nothing calls this directly

Calls 4

loadPDFMethod · 0.95
loadXFDFMethod · 0.95
importFDFMethod · 0.95
saveMethod · 0.45

Tested by

no test coverage detected