public interface PullStrategy
| Modifier and Type | Method and Description |
|---|---|
org.zanata.rest.StringSet |
getExtensions() |
boolean |
needsDocToWriteTrans() |
void |
setPullOptions(PullOptions opts) |
void |
writeSrcFile(org.zanata.rest.dto.resource.Resource docWithLocalName) |
void |
writeTransFile(org.zanata.rest.dto.resource.Resource docWithLocalName,
String docName,
LocaleMapping localeMapping,
org.zanata.rest.dto.resource.TranslationsResource targetDoc)
pre: docWithLocalName.getName() must match docName if docWithLocalName is not null
|
void setPullOptions(PullOptions opts)
org.zanata.rest.StringSet getExtensions()
boolean needsDocToWriteTrans()
void writeSrcFile(org.zanata.rest.dto.resource.Resource docWithLocalName)
throws IOException
doc - IOExceptionvoid writeTransFile(org.zanata.rest.dto.resource.Resource docWithLocalName,
String docName,
LocaleMapping localeMapping,
org.zanata.rest.dto.resource.TranslationsResource targetDoc)
throws IOException
docWithLocalName - may be null if needsDocToWriteTrans() returns falsedocName - may be null if needsDocToWriteTrans() returns falselocaleMapping - targetDoc - IOExceptionCopyright © 2012 Zanata Project. All Rights Reserved.