org.zanata.client.commands
Class OptionsUtil

java.lang.Object
  extended by org.zanata.client.commands.OptionsUtil

public class OptionsUtil
extends Object


Constructor Summary
OptionsUtil()
           
 
Method Summary
static void applyConfigFiles(ConfigurableOptions opts)
          Loads the config files (controlled by the property userConfig) to supply any values which haven't already been set.
static ZanataProxyFactory createRequestFactory(ConfigurableOptions opts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsUtil

public OptionsUtil()
Method Detail

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.