public class TransFileResolver extends Object
Constructor and Description |
---|
TransFileResolver(ConfigurableProjectOptions opts) |
Modifier and Type | Method and Description |
---|---|
File |
getTransFile(DocNameWithoutExt docNameWithoutExt,
LocaleMapping localeMapping)
Determines where to store the translation file for a given source
document and locale mapping.
|
File |
resolveTransFile(DocNameWithExt docNameWithExt,
LocaleMapping localeMapping,
com.google.common.base.Optional<String> translationFileExtension)
Determines where to store the translation file for a given source
document and locale mapping.
|
public TransFileResolver(ConfigurableProjectOptions opts)
public File resolveTransFile(DocNameWithExt docNameWithExt, LocaleMapping localeMapping, com.google.common.base.Optional<String> translationFileExtension)
docNameWithExt
- source document name with extensionlocaleMapping
- locale mappingpublic File getTransFile(DocNameWithoutExt docNameWithoutExt, LocaleMapping localeMapping)
docNameWithoutExt
- source document name without extensionlocaleMapping
- locale mappingCopyright © 2017 Zanata Project. All rights reserved.