public abstract class AbstractPullStrategy extends Object implements PullStrategy
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPullStrategy(PullOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
PullOptions |
getOpts() |
File |
getTransFileToWrite(String docName,
LocaleMapping localeMapping)
Provides the file reference that will be used to write a Translation file
for a given Resource.
|
boolean |
isTransOnly()
Indicates if this strategy must work without access to source files.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtensions, needsDocToWriteTrans, writeSrcFile, writeTransFileprotected AbstractPullStrategy(PullOptions opts)
public PullOptions getOpts()
public boolean isTransOnly()
PullStrategyisTransOnly in interface PullStrategypublic File getTransFileToWrite(String docName, LocaleMapping localeMapping)
PullStrategygetTransFileToWrite in interface PullStrategydocName - may be null if needsDocToWriteTrans() returns falselocaleMapping - Locale mapping to use.Copyright © 2016 Zanata Project. All rights reserved.