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, wait
getExtensions, needsDocToWriteTrans, writeSrcFile, writeTransFile
protected AbstractPullStrategy(PullOptions opts)
public PullOptions getOpts()
public boolean isTransOnly()
PullStrategy
isTransOnly
in interface PullStrategy
public File getTransFileToWrite(String docName, LocaleMapping localeMapping)
PullStrategy
getTransFileToWrite
in interface PullStrategy
docName
- may be null if needsDocToWriteTrans() returns falselocaleMapping
- Locale mapping to use.Copyright © 2018 Zanata Project. All rights reserved.