com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Interface IProtectableFormat

  • All Known Implementing Classes:
    DocFormat, PdfFormat, PptFormat, XlsFormat


    public interface IProtectableFormat

    Allows to detect if specific document is protected by user password. The metadata of password-protected document cannot be retrieved.


    Password-protected documents do not support most of GroupDocs.Metadata features.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean isProtected()
      Gets a value indicating whether document is encrypted and requires a password to open.
    • Method Detail

      • isProtected

        boolean isProtected()

        Gets a value indicating whether document is encrypted and requires a password to open.

        Returns:
        true if document is protected; otherwise, false.