public class Extractor extends EventHubBase
| Modifier and Type | Field and Description |
|---|---|
Event<EventHandler<IndexErrorEventArgs>> |
ErrorOccurred
Occurs when an error happens during an extractor operation.
|
Event<EventHandler<ImagePreparingEventArgs>> |
ImagePreparing
Occurs when an image is going to be prepared for indexing.
|
Event<EventHandler<PasswordRequiredEventArgs>> |
PasswordRequired
Occurs when a document requires password for opening.
|
| Constructor and Description |
|---|
Extractor()
Initializes a new instance of the
Extractor class. |
| Modifier and Type | Method and Description |
|---|---|
ExtractedData |
extract(Document document,
ExtractionOptions extractionOptions)
Extracts data from a document.
|
ExtractorSettings |
getSettings()
Gets the extractor settings.
|
void |
raiseErrorOccurredPublic(String message,
boolean isCritical) |
void |
raiseImagePreparingPublic(String documentKey,
String[] innerPath,
int imageIndex,
ImageFrame[] frames,
InputStream stream) |
String |
raisePasswordRequiredPublic(String filePath) |
public final Event<EventHandler<IndexErrorEventArgs>> ErrorOccurred
public final Event<EventHandler<ImagePreparingEventArgs>> ImagePreparing
public final Event<EventHandler<PasswordRequiredEventArgs>> PasswordRequired
public final ExtractedData extract(Document document, ExtractionOptions extractionOptions)
document - The document from file system, stream or structure.extractionOptions - The extraction options.public final ExtractorSettings getSettings()
public final void raiseErrorOccurredPublic(String message, boolean isCritical)
raiseErrorOccurredPublic in class EventHubBasepublic final void raiseImagePreparingPublic(String documentKey, String[] innerPath, int imageIndex, ImageFrame[] frames, InputStream stream)
raiseImagePreparingPublic in class EventHubBasepublic final String raisePasswordRequiredPublic(String filePath)
raisePasswordRequiredPublic in class EventHubBaseCopyright © 2026. All rights reserved.