Load from Stream As an alternative to a local file, Redactor can open a Document from stream.
The following example demonstrates how to load and redact a Document using Stream:
final FileInputStream stream = new FileInputStream("sample.docx"); try { final Redactor redactor = new Redactor(stream); try { // Here we can use Document instance to make redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.close(); } } finally { stream.close(); }...Editor Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Redaction Product...