Package net.sf.okapi.steps.leveraging
Class BatchTmLeveragingStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.leveraging.BatchTmLeveragingStep
-
- All Implemented Interfaces:
IPipelineStep
public class BatchTmLeveragingStep extends BasePipelineStep
-
-
Constructor Summary
Constructors Constructor Description BatchTmLeveragingStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()ParametersgetParameters()StringgetRootDirectory()LocaleIdgetSourceLocale()LocaleIdgetTargetLocale()protected EventhandleEndDocument(Event event)EventhandleEvent(Event event)protected EventhandleStartBatch(Event event)protected EventhandleTextUnit(Event event)voidsetParameters(IParameters params)voidsetRootDirectory(String rootDir)voidsetSourceLocale(LocaleId sourceLocale)voidsetTargetLocale(LocaleId targetLocale)-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
cancel, destroy, getHelpLocation, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep
-
-
-
-
Method Detail
-
setSourceLocale
public void setSourceLocale(LocaleId sourceLocale)
- Specified by:
setSourceLocalein interfaceIPipelineStep- Overrides:
setSourceLocalein classBasePipelineStep
-
getSourceLocale
public LocaleId getSourceLocale()
- Specified by:
getSourceLocalein interfaceIPipelineStep- Overrides:
getSourceLocalein 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
-
setRootDirectory
public void setRootDirectory(String rootDir)
-
getRootDirectory
public String getRootDirectory()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getParameters
public Parameters getParameters()
- Specified by:
getParametersin interfaceIPipelineStep- Overrides:
getParametersin classBasePipelineStep
-
setParameters
public void setParameters(IParameters params)
- Specified by:
setParametersin interfaceIPipelineStep- Overrides:
setParametersin classBasePipelineStep
-
handleEvent
public Event handleEvent(Event event)
- Specified by:
handleEventin interfaceIPipelineStep- Overrides:
handleEventin classBasePipelineStep
-
handleTextUnit
protected Event handleTextUnit(Event event)
- Overrides:
handleTextUnitin classBasePipelineStep
-
handleStartBatch
protected Event handleStartBatch(Event event)
- Overrides:
handleStartBatchin classBasePipelineStep
-
handleEndDocument
protected Event handleEndDocument(Event event)
- Overrides:
handleEndDocumentin classBasePipelineStep
-
-