public abstract class AbstractGettextPullStrategy extends AbstractPullStrategy
Modifier | Constructor and Description |
---|---|
protected |
AbstractGettextPullStrategy(PullOptions opts) |
Modifier and Type | Method and Description |
---|---|
org.zanata.rest.StringSet |
getExtensions()
Which extensions (eg gettext, comment) does this strategy need to fetch from the server?
|
protected org.zanata.adapter.po.PoWriter2 |
getPoWriter() |
boolean |
needsDocToWriteTrans()
Does this strategy need the source document (Resource) when writing translations?
|
void |
writeSrcFile(org.zanata.rest.dto.resource.Resource doc) |
getOpts
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransFileToWrite, writeTransFile
protected AbstractGettextPullStrategy(PullOptions opts)
protected org.zanata.adapter.po.PoWriter2 getPoWriter()
public org.zanata.rest.StringSet getExtensions()
PullStrategy
public boolean needsDocToWriteTrans()
PullStrategy
public void writeSrcFile(org.zanata.rest.dto.resource.Resource doc) throws IOException
IOException
Copyright © 2013 Zanata Project. All Rights Reserved.