FileIndexingEventArgs
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.search.events.EventArgs, com.groupdocs.search.events.BaseIndexEventArgs
public class FileIndexingEventArgs extends BaseIndexEventArgs
Represents arguments for the event of a document indexing start.
Learn more
| Method | Description |
|---|---|
| getDocument() | Gets the document. |
| getDocumentFullPath() | Gets the document full path. |
| getDocumentKey() | Gets the document key. |
| getSkipIndexing() | Gets a value indicating that indexing of the document should be skipped. |
| setSkipIndexing(boolean value) | Sets a value indicating that indexing of the document should be skipped. |
| getEncoding() | Gets the encoding of the document. |
| setEncoding(String value) | Sets the encoding of the document. |
| getCustomExtractor() | Gets the custom text extractor. |
| setCustomExtractor(IFieldExtractor value) | Sets the custom text extractor. |
| getAdditionalFields() | Gets the additional fields for the document. |
| setAdditionalFields(DocumentField[] value) | Sets the additional fields for the document. |
| getAttributes() | Gets the attributes of the document. |
| setAttributes(String[] value) | Set the attributes of the document. |
public final Document getDocument()
Gets the document.
Returns: Document - The document.
public final String getDocumentFullPath()
Gets the document full path.
Returns: java.lang.String - The document full path.
public final String getDocumentKey()
Gets the document key.
Returns: java.lang.String - The document key.
public final boolean getSkipIndexing()
Gets a value indicating that indexing of the document should be skipped.
Returns: boolean - A value indicating that indexing of the document should be skipped.
public final void setSkipIndexing(boolean value)
Sets a value indicating that indexing of the document should be skipped.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | A value indicating that indexing of the document should be skipped. |
public final String getEncoding()
Gets the encoding of the document.
Returns: java.lang.String - The encoding of the document.
public final void setEncoding(String value)
Sets the encoding of the document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The encoding of the document. |
public final IFieldExtractor getCustomExtractor()
Gets the custom text extractor.
Returns: IFieldExtractor - The custom text extractor.
public final void setCustomExtractor(IFieldExtractor value)
Sets the custom text extractor.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | IFieldExtractor | The custom text extractor. |
public final DocumentField[] getAdditionalFields()
Gets the additional fields for the document.
Returns: com.groupdocs.search.common.DocumentField[] - The additional fields for the document.
public final void setAdditionalFields(DocumentField[] value)
Sets the additional fields for the document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | DocumentField[] | The additional fields for the document. |
public final String[] getAttributes()
Gets the attributes of the document.
Returns: java.lang.String[] - The attributes of the document.
public final void setAttributes(String[] value)
Set the attributes of the document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String[] | The attributes of the document. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.