public class MSBatchTranslationStep extends BasePipelineStep
| Constructor and Description |
|---|
MSBatchTranslationStep() |
| Modifier and Type | Method and Description |
|---|---|
static Event |
generateAltOutput(String outFilePath,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale,
String filterConfigId)
Generates the alternative output used by several Trados Steps
|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
Parameters |
getParameters()
Gets the current parameters for this step.
|
Event |
handleEvent(Event event)
Processes each event sent though the pipeline.
|
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
void |
setBatchInputCount(int batchInputCount) |
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 |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputSteppublic static final String DOMAINVAR
public String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic void setSourceLocale(LocaleId sourceLocale)
IPipelineStepsetSourceLocale in interface IPipelineStepsetSourceLocale in class BasePipelineSteppublic void setTargetLocale(LocaleId targetLocale)
setTargetLocale in interface IPipelineStepsetTargetLocale in class BasePipelineSteppublic void setRootDirectory(String rootDir)
public void setInputRootDirectory(String inputRootDir)
public void setBatchInputCount(int batchInputCount)
public 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.public Event handleEvent(Event event)
IPipelineStephandleEvent in interface IPipelineStephandleEvent in class BasePipelineStepevent - the event to process.public static Event generateAltOutput(String outFilePath, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale, String filterConfigId)
outFilePath - path of the new input file.defaultEncoding - default encoding of the new file.sourceLocale - source locale.targetLocale - target locale.filterConfigId - filter configuration id of the new file.Copyright © 2022. All rights reserved.