FileTransformer instead.public interface Transformer extends Transformer
| Modifier and Type | Method and Description |
|---|---|
void |
setTargetLanguage(int languageId)
Deprecated.
Set the target language as indicated by the deployer meta data.
|
File |
transform(String itemURI,
File sourceFile,
String charsetName,
File targetDirectory)
Deprecated.
Transforms item [itemURI] from [sourceFile] using [charsetName] into the targetDirectory, returning the
created File.
|
void setTargetLanguage(int languageId)
setTargetLanguage in interface TransformerlanguageId - target language for the transformationFile transform(String itemURI, File sourceFile, String charsetName, File targetDirectory) throws ProcessingException
transform in interface TransformeritemURI - uri of the item being transformedsourceFile - source file to transformcharsetName - encoding of the source and target filetargetDirectory - directory in which the result file must be producedProcessingException - when an error occurred during the transformationCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries