public abstract class AbstractGettextPushStrategy extends AbstractPushStrategy
Constructor and Description |
---|
AbstractGettextPushStrategy() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
findDocNames(File srcDir,
List<String> includes,
List<String> excludes,
boolean useDefaultExclude,
boolean caseSensitive,
boolean excludeLocaleFilenames) |
protected org.zanata.adapter.po.PoReader2 |
getPoReader() |
org.zanata.rest.dto.resource.Resource |
loadSrcDoc(File sourceDir,
String docName) |
void |
visitTranslationResources(String docName,
org.zanata.rest.dto.resource.Resource srcDoc,
PushCommand.TranslationResourcesVisitor callback) |
docNameToFilename, docNameToFilename, getExtensions, getFileExtension, getSrcFiles, init, isTransOnly
getOpts, getSrcFiles, setPushOptions
public Set<String> findDocNames(File srcDir, List<String> includes, List<String> excludes, boolean useDefaultExclude, boolean caseSensitive, boolean excludeLocaleFilenames) throws IOException
findDocNames
in class AbstractPushStrategy
IOException
public org.zanata.rest.dto.resource.Resource loadSrcDoc(File sourceDir, String docName) throws IOException
loadSrcDoc
in class AbstractPushStrategy
IOException
public void visitTranslationResources(String docName, org.zanata.rest.dto.resource.Resource srcDoc, PushCommand.TranslationResourcesVisitor callback) throws IOException
visitTranslationResources
in class AbstractPushStrategy
IOException
protected org.zanata.adapter.po.PoReader2 getPoReader()
Copyright © 2017 Zanata Project. All rights reserved.