public interface IBatchItemContext
Most of the time a batch item is composed of a single input file with possibly some output information if some of the steps generate output for each batch item.
Some steps require more than one input document per batch item, for example a steps that align the content of two files will request two inputs per batch item: the source file and its corresponding translated file.
| Modifier and Type | Method and Description |
|---|---|
String |
getFilterConfigurationId(int index)
Gets the filter configuration identifier for a given input document of
this batch item.
|
String |
getOutputEncoding(int index)
Gets the output encoding for a given input document of this batch item.
|
URI |
getOutputURI(int index)
Gets the output URI for a given input document of this batch item.
|
RawDocument |
getRawDocument(int index)
Gets a RawDocument object from the given input document of this batch item.
|
LocaleId |
getSourceLocale(int index)
Gets the source locale for a given input document of this batch item.
|
LocaleId |
getTargetLocale(int index)
Gets the target locale for a given input document of this batch item.
|
String getFilterConfigurationId(int index)
index - the zero-based index of the input document.RawDocument getRawDocument(int index)
index - the zero-based index of the input document.URI getOutputURI(int index)
index - the zero-based index of the input document.String getOutputEncoding(int index)
index - the zero-based index of the input document.LocaleId getSourceLocale(int index)
index - the zero-based index of the input document.LocaleId getTargetLocale(int index)
index - the zero-based index of the input document.Copyright © 2022. All rights reserved.