org.jboss.jdocbook.i18n
Interface PoSynchronizer
- All Known Implementing Classes:
- PoSynchronizerImpl
public interface PoSynchronizer
Contract for synchronizing (creating/updating) PortableObject (PO) file(s)
for a given translation corresponding to the POT templates in the given
POT-directory.
- Author:
- Steve Ebersole
Method Summary |
void |
synchronizePo(java.io.File potDirectory,
java.io.File translationDirectory,
java.util.Locale translationLocale,
Options options)
Perform the synchronization on the the PO files. |
synchronizePo
void synchronizePo(java.io.File potDirectory,
java.io.File translationDirectory,
java.util.Locale translationLocale,
Options options)
throws JDocBookProcessException
- Perform the synchronization on the the PO files.
- Parameters:
potDirectory
- The directory containing the POT files.translationDirectory
- The directory containing the translation PO files.translationLocale
- The locale of the translationoptions
- The user options
- Throws:
JDocBookProcessException
- unable to synchronize POT files
Copyright © 2007-2010 JBoss, a division of Red Hat, Inc. All Rights Reserved.