public class FileIndexingEventArgs extends BaseIndexEventArgs
Learn more
Modifier | Constructor and Description |
---|---|
protected |
FileIndexingEventArgs(com.aspose.ms.System.Guid indexId,
String indexFolder,
IndexStatus status,
Document document)
Initializes a new instance of the
FileIndexingEventArgs class. |
Modifier and Type | Method and Description |
---|---|
protected static FileIndexingEventArgs |
create(com.aspose.ms.System.Guid indexId,
String indexFolder,
IndexStatus status,
Document document) |
DocumentField[] |
getAdditionalFields()
Gets the additional fields for the document.
|
String[] |
getAttributes()
Gets the attributes of the document.
|
IFieldExtractor |
getCustomExtractor()
Gets the custom text extractor.
|
Document |
getDocument()
Gets the document.
|
String |
getDocumentFullPath()
Gets the document full path.
|
String |
getDocumentKey()
Gets the document key.
|
String |
getEncoding()
Gets the encoding of the document.
|
boolean |
getSkipIndexing()
Gets a value indicating that indexing of the document should be skipped.
|
void |
setAdditionalFields(DocumentField[] value)
Sets the additional fields for the document.
|
void |
setAttributes(String[] value)
Set the attributes of the document.
|
void |
setCustomExtractor(IFieldExtractor value)
Sets the custom text extractor.
|
void |
setEncoding(String value)
Sets the encoding of the document.
|
void |
setSkipIndexing(boolean value)
Sets a value indicating that indexing of the document should be skipped.
|
create, getIndexFolder, getIndexId, getStatus, getTime
protected FileIndexingEventArgs(com.aspose.ms.System.Guid indexId, String indexFolder, IndexStatus status, Document document)
Initializes a new instance of the FileIndexingEventArgs
class.
indexId
- The index ID.indexFolder
- The index folder.status
- The status.document
- The adding document.public final Document getDocument()
Gets the document.
public final String getDocumentFullPath()
Gets the document full path.
public final String getDocumentKey()
Gets the document key.
public final boolean getSkipIndexing()
Gets 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.
value
- A value indicating that indexing of the document should be skipped.public final String getEncoding()
Gets the encoding of the document.
public final void setEncoding(String value)
Sets the encoding of the document.
value
- The encoding of the document.public final IFieldExtractor getCustomExtractor()
Gets the custom text extractor.
public final void setCustomExtractor(IFieldExtractor value)
Sets the custom text extractor.
value
- The custom text extractor.public final DocumentField[] getAdditionalFields()
Gets the additional fields for the document.
public final void setAdditionalFields(DocumentField[] value)
Sets the additional fields for the document.
value
- The additional fields for the document.public final String[] getAttributes()
Gets the attributes of the document.
public final void setAttributes(String[] value)
Set the attributes of the document.
value
- The attributes of the document.protected static FileIndexingEventArgs create(com.aspose.ms.System.Guid indexId, String indexFolder, IndexStatus status, Document document)