org.zanata.client.commands.push
Class RawPushStrategy
java.lang.Object
org.zanata.client.commands.push.AbstractCommonPushStrategy<PushOptions>
org.zanata.client.commands.push.RawPushStrategy
public class RawPushStrategy
- extends AbstractCommonPushStrategy<PushOptions>
Strategy for uploading documents using the document file upload API methods.
- Author:
- David Mason, damason@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawPushStrategy
public RawPushStrategy()
visitTranslationFiles
public void visitTranslationFiles(String sourceDocument,
RawPushStrategy.TranslationFilesVisitor visitor)
- 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.
- Parameters:
sourceDocument - local path and name of source document for which to find translationsvisitor -
Copyright © 2013 Zanata Project. All Rights Reserved.