org.zanata.client.commands
Class OptionsUtil
java.lang.Object
org.zanata.client.commands.OptionsUtil
public class OptionsUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionsUtil
public OptionsUtil()
applyConfigFiles
public static void applyConfigFiles(ConfigurableOptions opts)
throws org.apache.commons.configuration.ConfigurationException,
JAXBException
- Loads the config files (controlled by the property userConfig) to supply
any values which haven't already been set.
- Throws:
Exception
org.apache.commons.configuration.ConfigurationException
JAXBException
createRequestFactory
public static ZanataProxyFactory createRequestFactory(ConfigurableOptions opts)
Copyright © 2013 Zanata Project. All Rights Reserved.