Class CopySourceOnEmptyTargetStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.common.copysource.CopySourceOnEmptyTargetStep
-
- All Implemented Interfaces:
IPipelineStep
public class CopySourceOnEmptyTargetStep extends BasePipelineStep
-
-
Constructor Summary
Constructors Constructor Description CopySourceOnEmptyTargetStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()LocaleIdgetTargetLocale()protected EventhandleTextUnit(Event event)voidsetTargetLocale(LocaleId targetLocale)-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale
-
-
-
-
Method Detail
-
getName
public String getName()
-
getDescription
public String getDescription()
-
handleTextUnit
protected Event handleTextUnit(Event event)
- Overrides:
handleTextUnitin classBasePipelineStep
-
setTargetLocale
public void setTargetLocale(LocaleId targetLocale)
- Specified by:
setTargetLocalein interfaceIPipelineStep- Overrides:
setTargetLocalein classBasePipelineStep
-
getTargetLocale
public LocaleId getTargetLocale()
- Specified by:
getTargetLocalein interfaceIPipelineStep- Overrides:
getTargetLocalein classBasePipelineStep
-
-