org.zanata.client.commands.pull
Class OfflinePoStrategy
java.lang.Object
org.zanata.client.commands.pull.AbstractPullStrategy
org.zanata.client.commands.pull.AbstractGettextPullStrategy
org.zanata.client.commands.pull.GettextDirStrategy
org.zanata.client.commands.pull.OfflinePoStrategy
- All Implemented Interfaces:
- PullStrategy
public class OfflinePoStrategy
- extends GettextDirStrategy
Similar to GettextDirStrategy but uses msgctxt to map text flow id.
- Author:
- David Mason, damason@redhat.com
|
Method Summary |
protected org.zanata.adapter.po.PoWriter2 |
getPoWriter()
|
boolean |
isTransOnly()
Indicates if this strategy must work without access to source files. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfflinePoStrategy
public OfflinePoStrategy(PullOptions opts)
getPoWriter
protected org.zanata.adapter.po.PoWriter2 getPoWriter()
- Overrides:
getPoWriter in class AbstractGettextPullStrategy
isTransOnly
public boolean isTransOnly()
- Description copied from interface:
PullStrategy
- Indicates if this strategy must work without access to source files. No
attempt should be made to read, write or push source documents for a
trans-only strategy.
- Specified by:
isTransOnly in interface PullStrategy- Overrides:
isTransOnly in class AbstractPullStrategy
- Returns:
- true if this strategy only allows interactions with translation files.
Copyright © 2013 Zanata Project. All Rights Reserved.