public class UTF8PropertiesStrategy extends PropertiesStrategy
| Modifier | Constructor and Description |
|---|---|
protected |
UTF8PropertiesStrategy(PullOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeSrcFile(Resource doc) |
FileDetails |
writeTransFile(Resource doc,
String docName,
LocaleMapping localeMapping,
TranslationsResource targetDoc)
pre: docWithLocalName.getName() must match docName if docWithLocalName is
not null
|
getExtensions, needsDocToWriteTransgetOpts, getTransFileToWrite, isTransOnlyprotected UTF8PropertiesStrategy(PullOptions opts)
public void writeSrcFile(Resource doc) throws IOException
writeSrcFile in interface PullStrategywriteSrcFile in class PropertiesStrategyIOExceptionpublic FileDetails writeTransFile(Resource doc, String docName, LocaleMapping localeMapping, TranslationsResource targetDoc) throws IOException
PullStrategywriteTransFile in interface PullStrategywriteTransFile in class PropertiesStrategydoc - may be null if needsDocToWriteTrans() returns falsedocName - may be null if needsDocToWriteTrans() returns falseIOExceptionCopyright © 2018 Zanata Project. All rights reserved.