public class Merger extends Object
| Constructor and Description |
|---|
Merger(Manifest manifest,
IFilterConfigurationMapper fcMapper,
boolean preserveSegmentation,
LocaleId forcedTargetLocale,
boolean returnRawDocument,
String overrideOutputPath)
Creates a Merger object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getErrorCount()
Gets the number of errors since the last call to
startMerging(MergingInfo, Event). |
Event |
handleEvent(Event event) |
Event |
startMerging(MergingInfo info,
Event event) |
public Merger(Manifest manifest, IFilterConfigurationMapper fcMapper, boolean preserveSegmentation, LocaleId forcedTargetLocale, boolean returnRawDocument, String overrideOutputPath)
manifest - The manifest to process.fcMapper - the filter mapper to use.preserveSegmentation - true to preserve the segmentation after the merge is done.forcedTargetLocale - null to use the target locale in the manifest, otherwise: the target locale to merge.returnRawDocument - true to return a raw document rather than filter events.overrideOutputPath - path of the output path to use instead of the default one, use null to use the default.public void close()
public Event startMerging(MergingInfo info, Event event)
public int getErrorCount()
startMerging(MergingInfo, Event).Copyright © 2020. All rights reserved.