org.jboss.jdocbook.i18n.gettext
Class PotSynchronizerImpl

java.lang.Object
  extended by org.jboss.jdocbook.i18n.gettext.PotSynchronizerImpl
All Implemented Interfaces:
PotSynchronizer

public class PotSynchronizerImpl
extends java.lang.Object
implements PotSynchronizer

Implementation of the PotSynchronizer contract based on system calls to the xml2pot command (part of the KDE poxml package).

Author:
Steve Ebersole

Constructor Summary
PotSynchronizerImpl()
           
 
Method Summary
 void synchronizePot(java.io.File masterFile, java.io.File templateDirectory, Options options)
          Perform the synchronization on the the POT files pertaining to the given master DocBook source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PotSynchronizerImpl

public PotSynchronizerImpl()
Method Detail

synchronizePot

public void synchronizePot(java.io.File masterFile,
                           java.io.File templateDirectory,
                           Options options)
                    throws JDocBookProcessException
Perform the synchronization on the the POT files pertaining to the given master DocBook source.

Specified by:
synchronizePot in interface PotSynchronizer
Parameters:
masterFile - The DocBook source
templateDirectory - The directory where POT files are contained.
options - The user options
Throws:
JDocBookProcessException - unable to synchronize POT files


Copyright © 2007-2011 JBoss, a division of Red Hat, Inc. All Rights Reserved.