The following example demonstrates how to save the redacted document, replacing an original file:
// Make a copy of sample file Files.copy(new File("Sample.docx").toPath(), new File("OverwrittenSample.docx").toPath(), StandardCopyOption.REPLACE_EXISTING); // Apply redaction final Redactor redactor = new Redactor("OverwrittenSample.docx"); try { RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { SaveOptions options = new SaveOptions(); options.setAddSuffix(false); options.setRasterizeToPDF(false); // Save the document in original format overwriting original file redactor.save(options); } } finally { redactor....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to load a document from FTP storage with GroupDocs.Viewer within your Java applications....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
GroupDocs hosts all Java APIs on GroupDocs Repository. You use the GroupDocs.Annotation for Java API directly in your Maven projects with simple configurations.
Specify GroupDocs Repository Configuration First, you need to specify GroupDocs repository configuration/location in your Maven pom.xml as follows: XML GroupDocs Artifact RepositoryGroupDocs Artifact Repositoryhttps://releases.groupdocs.com/java/repo/ Define GroupDocs.Annotation for Java API Dependency Then define GroupDocs.Annotation for Java API dependency in your pom.xml as follows:...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
The articles in this section describe advanced search index related topics.
You will find details about index management and advanced options:
More resources GitHub examples You may easily run the code from documentation articles and see the features in action in our GitHub examples:
GroupDocs.Search for .NET examples
GroupDocs.Search for Java examples
Free online document search App Along with full featured .NET library we provide simple, but powerful free Apps....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
The articles explain that how to save documents in different ways after making redactions....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to load PDF, Word(.doc, .docx), Excel(.xls,.xlsx), PowerPoint(.ppt, .pptx) documents from stream when using GroupDocs.Merger for .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Use GroupDocs.Signature libraries to e-Sign documents with different signature types, protect documents with digital certificates, generate QR Codes and barcodes using C# or Java languages....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
A Java metadata API can be effectively used in removing, updating and reading metadata in a variety of formats. It is very effective in removing metadata from photos. Supporting iptc metadata, exif metadata and xmp metadata....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...