public class SegmentationStep extends BasePipelineStep
| Constructor and Description |
|---|
SegmentationStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getInputRootDirectory() |
String |
getName()
Gets the localizable name of this step.
|
Parameters |
getParameters()
Gets the current parameters for this step.
|
String |
getRootDirectory() |
LocaleId |
getSourceLocale()
Delegate to concrete class
|
List<LocaleId> |
getTargetLocales() |
protected Event |
handleCustom(Event event)
Handles the
EventType.CUSTOM event. |
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
protected Event |
handleStartBatchItem(Event event)
Handles the
EventType.START_BATCH_ITEM event. |
protected Event |
handleStartDocument(Event event)
Handles the
EventType.START_DOCUMENT event. |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
void |
setInputRootDirectory(String inputRootDir) |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setRootDirectory(String rootDir) |
void |
setSourceLocale(LocaleId sourceLocale)
Delegate to concrete class
|
void |
setTargetLocales(List<LocaleId> targetLocales) |
cancel, destroy, getHelpLocation, getTargetLocale, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setTargetLocalepublic void setSourceLocale(LocaleId sourceLocale)
IPipelineStepsetSourceLocale in interface IPipelineStepsetSourceLocale in class BasePipelineSteppublic void setRootDirectory(String rootDir)
public void setInputRootDirectory(String inputRootDir)
public LocaleId getSourceLocale()
IPipelineStepgetSourceLocale in interface IPipelineStepgetSourceLocale in class BasePipelineSteppublic String getRootDirectory()
public String getInputRootDirectory()
public String getName()
IPipelineSteppublic String getDescription()
IPipelineSteppublic Parameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.protected Event handleStartBatch(Event event)
BasePipelineStepEventType.START_BATCH event.handleStartBatch in class BasePipelineStepevent - event to handle.protected Event handleStartBatchItem(Event event)
BasePipelineStepEventType.START_BATCH_ITEM event.handleStartBatchItem in class BasePipelineStepevent - event to handle.protected Event handleStartDocument(Event event)
BasePipelineStepEventType.START_DOCUMENT event.handleStartDocument in class BasePipelineStepevent - event to handle.protected Event handleCustom(Event event)
BasePipelineStepEventType.CUSTOM event.handleCustom in class BasePipelineStepevent - event to handle.protected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.Copyright © 2022. All rights reserved.