public class RawPushStrategy extends AbstractCommonPushStrategy<PushOptions>
Modifier and Type | Class and Description |
---|---|
static interface |
RawPushStrategy.TranslationFilesVisitor |
Constructor and Description |
---|
RawPushStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
visitTranslationFiles(String sourceDocument,
RawPushStrategy.TranslationFilesVisitor visitor,
com.google.common.base.Optional<String> translationExtension)
This implementation assumes that translated documents are named
identically to source documents, and reside in directories named with a
locale identifier that are siblings of the source directory.
|
getOpts, getSrcFiles, setPushOptions
public void visitTranslationFiles(String sourceDocument, RawPushStrategy.TranslationFilesVisitor visitor, com.google.common.base.Optional<String> translationExtension)
sourceDocument
- local path and name of source document for which to find
translationsvisitor
- Copyright © 2015 Zanata Project. All rights reserved.