com.groupdocs.search.events

Class PasswordRequiredEventArgs



  • public class PasswordRequiredEventArgs
    extends BaseIndexEventArgs

    Represents arguments for the event that occurs when document protected by a password is indexing.

    Learn more

    • Constructor Detail

      • PasswordRequiredEventArgs

        protected PasswordRequiredEventArgs(com.aspose.ms.System.Guid indexId,
                                 String indexFolder,
                                 int status,
                                 String filePath)

        Initializes a new instance of the PasswordRequiredEventArgs class.

        Parameters:
        indexId - The index ID.
        indexFolder - The index folder.
        status - The status.
        filePath - The document file path.
    • Method Detail

      • getDocumentFullPath

        public final String getDocumentFullPath()

        Gets the document full path.

        Returns:
        The document full path.
      • getPassword

        public final String getPassword()

        Gets the password for opening the document.

        Returns:
        The password for opening the document.
      • setPassword

        public final void setPassword(String value)

        Sets the password for opening the document.

        Parameters:
        value - The password for opening the document.