Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Redact Private Information via Java API

GroupDocs.Redaction provides a single format-independent interface to Remove Sensitive & Classified Data from Documents, including the document’s metadata and annotations. The Redaction Library also provides the ability to optionally save redacted documents in PDF format, transform all pages into raster images or re-save redacted document in its original format for further editing in its native application.

Directory Description
Examples Java examples and sample documents for you to get started quickly.

Document Redaction Library

  • Rasterize documents by adding images of redacted pages.
  • Save the document in its original format after applying redaction.
  • Delete document metadata to remove all sensitive information.
  • Use regular expressions to match & remove document annotations.
  • Redact images by adding colored box over a given area.

Get Started with GroupDocs.Redaction for Java

GroupDocs.Redaction for Java requires J2SE 7.0 (1.7), J2SE 8.0 (1.8) or above. Please install Java first if you do not have it already.

GroupDocs hosts all Java APIs on GroupDocs Artifact Repository, so simply configure your Maven project to fetch the dependencies automatically.

Remove Annotations from an Excel File & Save As PDF

final Redactor redactor = new Redactor("annotated_sample.xlsx");
try 
{
    redactor.apply(new DeleteAnnotationRedaction("(?im:(use|show|describe))"));
    SaveOptions options = new  SaveOptions();
    options.setAddSuffix(true);
    options.setRasterizeToPDF(false);
    redactor.save(options);
}
finally { redactor.close(); }

Clean JPEG Metadata

final Redactor redactor  = new Redactor("photo.jpg");
try 
{
    RedactorChangeLog result = redactor.apply(new EraseMetadataRedaction(MetadataFilters.All));
    if (result.getStatus() != RedactionStatus.Failed)
    {
       redactor.save();
    };
}
finally { redactor.close(); }

Home | Product Page | Documentation | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

About

GroupDocs.Redation for Java samples, plugins and showcase

Resources

License

Releases

No releases published

Packages

No packages published