public class XliffStrategy extends AbstractPushStrategy
Constructor and Description |
---|
XliffStrategy() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
findDocNames(File srcDir,
List<String> includes,
List<String> excludes,
boolean useDefaultExclude,
boolean caseSensitive,
boolean excludeLocaleFilenames) |
org.zanata.rest.dto.resource.Resource |
loadSrcDoc(File sourceDir,
String docName) |
void |
visitTranslationResources(String docName,
org.zanata.rest.dto.resource.Resource srcDoc,
PushCommand.TranslationResourcesVisitor visitor) |
docNameToFilename, docNameToFilename, getExtensions, getFileExtension, getSrcFiles, init
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 FileNotFoundException
loadSrcDoc
in class AbstractPushStrategy
FileNotFoundException
public void visitTranslationResources(String docName, org.zanata.rest.dto.resource.Resource srcDoc, PushCommand.TranslationResourcesVisitor visitor) throws FileNotFoundException
visitTranslationResources
in class AbstractPushStrategy
FileNotFoundException
Copyright © 2013 Zanata Project. All Rights Reserved.