This article explains the ability of the GroupDocs.Redaction API to get the general document information, which includes FileType, PageCount and FileSize....This article explains the ability of the GroupDocs.Redaction API to get the general document information, which includes FileType, PageCount and FileSize.
This article show how to enable you to load password-protected documents and load documents from different sources...This article show how to enable you to load password-protected documents and load documents from different sources
GroupDocs.Redaction allows you to load password-protected documents and load documents from different sources.
For more details please refer to the following guides:...GroupDocs.Redaction allows you to load password-protected documents and load documents from different sources.
For more details please refer to the following guides:
This article demonstrates that how to save a document to any custom file at any location on the local disc or a even a Stream...This article demonstrates that how to save a document to any custom file at any location on the local disc or a even a Stream
This article shows that how Java redaction API allows to redact data of sensitive or private nature from your XLS, XLSX, ODS spreadsheet document formats and others....This article shows that how Java redaction API allows to redact data of sensitive or private nature from your XLS, XLSX, ODS spreadsheet document formats and others.
This article shows that how to remove pages with sensitive data from your PDF, presentation and spreadsheet documents....This article shows that how to remove pages with sensitive data from your PDF, presentation and spreadsheet documents.
This article shows that how to get the list of all supported file formats of GroupDocs.Redaction by using Java....This article shows that how to get the list of all supported file formats of GroupDocs.Redaction by using Java.
Load from local disc GroupDocs.Redaction.Redactor class is a main class in Redaction API, providing functionality to open a document. When document is located on the local disk, you can pass its path to *Redactor *class constructor.
The following example demonstrates how to open a document from local disc:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor....Load from local disc GroupDocs.Redaction.Redactor class is a main class in Redaction API, providing functionality to open a document. When document is located on the local disk, you can pass its path to *Redactor *class constructor.
The following example demonstrates how to open a document from local disc:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.
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(); }...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(); }