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() |
String |
getName() |
IParameters |
getParameters() |
Event |
handleEvent(Event event) |
protected Event |
handleStartBatch(Event event) |
void |
setBatchInputCount(int batchInputCount) |
void |
setInputRootDirectory(String inputRootDir) |
void |
setParameters(IParameters params) |
void |
setRootDirectory(String rootDir) |
void |
setSourceLocale(LocaleId sourceLocale) |
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, 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()
public String getName()
public void setSourceLocale(LocaleId sourceLocale)
public void setTargetLocale(LocaleId targetLocale)
public void setRootDirectory(String rootDir)
public void setInputRootDirectory(String inputRootDir)
public void setBatchInputCount(int batchInputCount)
public IParameters getParameters()
getParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
setParameters in interface IPipelineStepsetParameters in class BasePipelineStepprotected Event handleStartBatch(Event event)
handleStartBatch in class BasePipelineSteppublic Event handleEvent(Event event)
handleEvent in interface IPipelineStephandleEvent in class BasePipelineSteppublic 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 © 2020. All rights reserved.