From: Maxim Valyanskiy Date: Tue, 10 May 2011 10:40:39 +0000 (+0000) Subject: update documentation on encryption support X-Git-Tag: REL_3_8_BETA3~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25c0c129be45ac1bc6575df36121f29f64b325f2;p=poi.git update documentation on encryption support git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101398 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/encryption.xml b/src/documentation/content/xdocs/encryption.xml index 61a2a200dd..7354431fba 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)) {