Chris Bamford - 2010-09-30

Is this the recommended way of detecting the fact that you are attempting to extract text from an encrypted file?

        extractor.extract(container.getDescribedUri(), bis, Charset.forName("UTF-8"), mimeType, container);

         if ( ((container.getAll(NFO.encryptionStatus)).size() != 0)) {
             encrypted = true;
         }

Thanks