public class TransFileResolver extends Object
| Constructor and Description |
|---|
TransFileResolver(ConfigurableProjectOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
File |
getTransFile(UnqualifiedSrcDocName unqualifiedSrcDocName,
LocaleMapping localeMapping)
Determines where to store the translation file for a given source
document and locale mapping.
|
File |
resolveTransFile(QualifiedSrcDocName qualifiedSrcDocName,
LocaleMapping localeMapping)
Determines where to store the translation file for a given source
document and locale mapping.
|
public TransFileResolver(ConfigurableProjectOptions opts)
public File resolveTransFile(QualifiedSrcDocName qualifiedSrcDocName, LocaleMapping localeMapping)
qualifiedSrcDocName - source document name with extensionlocaleMapping - locale mappingpublic File getTransFile(UnqualifiedSrcDocName unqualifiedSrcDocName, LocaleMapping localeMapping)
unqualifiedSrcDocName - source document name without extensionlocaleMapping - locale mappingCopyright © 2014 Zanata Project. All Rights Reserved.