public class FileIndexingEventArgs extends BaseIndexEventArgs
Represents arguments for event of a document indexing start.
Modifier and Type | Method and Description |
---|---|
void |
detectEncoding(Charset defaultEncoding,
boolean detectByContent)
Detects encoding.
|
IFieldExtractor |
getCustomExtractor()
Gets or set the custom text extractor.
|
String |
getDocumentFullName()
Gets the document full name.
|
String |
getEncoding()
Gets or sets the encoding of the document.
|
boolean |
getSkipIndexing()
Gets or sets a value indicating that document indexing should be skipped.
|
void |
setCustomExtractor(IFieldExtractor value)
Gets or set the custom text extractor.
|
void |
setEncoding(String value)
Gets or sets the encoding of the document.
|
void |
setSkipIndexing(boolean value)
Gets or sets a value indicating that document indexing should be skipped.
|
getIndexFolder, getIndexId, getMessage, getStatus, getTime
public final String getDocumentFullName()
Gets the document full name.
Value: The document fill name.public final boolean getSkipIndexing()
Gets or sets a value indicating that document indexing should be skipped.
Value: Is document's indexing should be skipped.public final void setSkipIndexing(boolean value)
Gets or sets a value indicating that document indexing should be skipped.
Value: Is document's indexing should be skipped.public final String getEncoding()
Gets or sets the encoding of the document.
Value: The encoding.public final void setEncoding(String value)
Gets or sets the encoding of the document.
Value: The encoding.public final IFieldExtractor getCustomExtractor()
Gets or set the custom text extractor.
Value: The custom text extractor.public final void setCustomExtractor(IFieldExtractor value)
Gets or set the custom text extractor.
Value: The custom text extractor.public final void detectEncoding(Charset defaultEncoding, boolean detectByContent)
Detects encoding.
defaultEncoding
- Default encoding.detectByContent
- Is encoding should be detected by content.Copyright © 2019. All rights reserved.