com.groupdocs.search.events

Class FileIndexingEventArgs

    • Constructor Detail

      • FileIndexingEventArgs

        protected FileIndexingEventArgs(com.aspose.ms.System.Guid indexId,
                                        String indexFolder,
                                        IndexStatus status,
                                        Document document)

        Initializes a new instance of the FileIndexingEventArgs class.

        Parameters:
        indexId - The index ID.
        indexFolder - The index folder.
        status - The status.
        document - The adding document.
    • Method Detail

      • getDocument

        public final Document getDocument()

        Gets the document.

        Returns:
        The document.
      • getDocumentFullPath

        public final String getDocumentFullPath()

        Gets the document full path.

        Returns:
        The document full path.
      • getDocumentKey

        public final String getDocumentKey()

        Gets the document key.

        Returns:
        The document key.
      • getSkipIndexing

        public final boolean getSkipIndexing()

        Gets a value indicating that indexing of the document should be skipped.

        Returns:
        A value indicating that indexing of the document should be skipped.
      • setSkipIndexing

        public final void setSkipIndexing(boolean value)

        Sets a value indicating that indexing of the document should be skipped.

        Parameters:
        value - A value indicating that indexing of the document should be skipped.
      • getEncoding

        public final String getEncoding()

        Gets the encoding of the document.

        Returns:
        The encoding of the document.
      • setEncoding

        public final void setEncoding(String value)

        Sets the encoding of the document.

        Parameters:
        value - The encoding of the document.
      • getCustomExtractor

        public final IFieldExtractor getCustomExtractor()

        Gets the custom text extractor.

        Returns:
        The custom text extractor.
      • setCustomExtractor

        public final void setCustomExtractor(IFieldExtractor value)

        Sets the custom text extractor.

        Parameters:
        value - The custom text extractor.
      • getAdditionalFields

        public final DocumentField[] getAdditionalFields()

        Gets the additional fields for the document.

        Returns:
        The additional fields for the document.
      • setAdditionalFields

        public final void setAdditionalFields(DocumentField[] value)

        Sets the additional fields for the document.

        Parameters:
        value - The additional fields for the document.
      • getAttributes

        public final String[] getAttributes()

        Gets the attributes of the document.

        Returns:
        The attributes of the document.
      • setAttributes

        public final void setAttributes(String[] value)

        Set the attributes of the document.

        Parameters:
        value - The attributes of the document.