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(String docName,
LocaleMappedTranslatedDoc translations)
pre: docWithLocalName.getName() must match docName if docWithLocalName is
not null
|
getExtensions, needsDocToWriteTrans
getOpts, getTransFileToWrite, isTransOnly
protected UTF8PropertiesStrategy(PullOptions opts)
public void writeSrcFile(Resource doc) throws IOException
writeSrcFile
in interface PullStrategy
writeSrcFile
in class PropertiesStrategy
IOException
public FileDetails writeTransFile(String docName, LocaleMappedTranslatedDoc translations) throws IOException
PullStrategy
writeTransFile
in interface PullStrategy
writeTransFile
in class PropertiesStrategy
docName
- may be null if needsDocToWriteTrans() returns falseIOException
Copyright © 2018 Zanata Project. All rights reserved.