GroupDocs.Parser for Java 20.12 Release Notes
This page contains release notes for GroupDocs.Parser for Java 20.12
Full List of Issues Covering all Changes in this Release
|PARSERNET-1690||Implement the ability to identify whether a file is password-protected||New Feature|
Public API and Backward Incompatible Changes
This feature allows to identify whether a file is password-protected.
Public API changes
The following types were added:
- Added FileInfo class into com.groupdocs.parser.options package.
Parser public class was updated with changes as follows:
The following code shows how to check whether a file is password-protected:
// Get a file info FileInfo info = Parser.getFileInfo(filePath); // Check IsEncrypted property System.out.println(info.isEncrypted() ? "Password is required" : "");