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, getTransFileToWrite, isTransOnly
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 © 2017 Zanata Project. All rights reserved.