Frontend Integration of PDF Redaction in Java

It’s also possible to design how the redactions would look on one of our powerful UI frameworks (iOS/Android), export this redaction information, and apply the redactions with PSPDFKit Libraries. To create the redaction information, Instant Document JSON (iOS/Android) is used. It can then be imported into the document on the server, and the redactions can be applied:

File redactionJsonFile = new File("Assets/redaction.json");
document.importDocumentJson(new FileDataProvider(redactionJsonFile));