diff --git a/src/documentation/content/xdocs/encryption.xml b/src/documentation/content/xdocs/encryption.xml index 61a2a200d..7354431fb 100644 --- a/src/documentation/content/xdocs/encryption.xml +++ b/src/documentation/content/xdocs/encryption.xml @@ -33,7 +33,7 @@

Apache POI contains support for reading few variants of encrypted office files:

Some "write-protected" files are encrypted with build-in password, POI can read that files too.

@@ -52,7 +52,7 @@ EncryptionInfo info = new EncryptionInfo(filesystem); -Decryptor d = new Decryptor(info); +Decryptor d = Decryptor.getInstance(info); try { if (!d.verifyPassword(password)) {