public class UTF8PropertiesStrategy extends PropertiesStrategy
| Constructor and Description |
|---|
UTF8PropertiesStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeSrcFile(org.zanata.rest.dto.resource.Resource doc) |
void |
writeTransFile(org.zanata.rest.dto.resource.Resource doc,
String docName,
LocaleMapping localeMapping,
org.zanata.rest.dto.resource.TranslationsResource targetDoc)
pre: docWithLocalName.getName() must match docName if docWithLocalName is not null
|
getExtensions, getPullOptions, needsDocToWriteTrans, setPullOptionspublic void writeSrcFile(org.zanata.rest.dto.resource.Resource doc)
throws IOException
writeSrcFile in interface PullStrategywriteSrcFile in class PropertiesStrategyIOExceptionpublic void writeTransFile(org.zanata.rest.dto.resource.Resource doc,
String docName,
LocaleMapping localeMapping,
org.zanata.rest.dto.resource.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 © 2012 Zanata Project. All Rights Reserved.