org.robokind.impl.motion.config
Class RobotConfigXMLFileLoader

java.lang.Object
  extended by org.robokind.impl.motion.config.RobotConfigXMLFileLoader
All Implemented Interfaces:
ConfigurationLoader<ServoRobotConfig,File>

public class RobotConfigXMLFileLoader
extends Object
implements ConfigurationLoader<ServoRobotConfig,File>

Author:
Matthew Stevenson

Constructor Summary
RobotConfigXMLFileLoader(org.osgi.framework.BundleContext context)
           
 
Method Summary
 Class<ServoRobotConfig> getConfigurationClass()
           
 VersionProperty getConfigurationFormat()
           
 Class<File> getParameterClass()
           
 ServoRobotConfig loadConfiguration(File param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotConfigXMLFileLoader

public RobotConfigXMLFileLoader(org.osgi.framework.BundleContext context)
Method Detail

getConfigurationFormat

public VersionProperty getConfigurationFormat()
Specified by:
getConfigurationFormat in interface ConfigurationLoader<ServoRobotConfig,File>

loadConfiguration

public ServoRobotConfig loadConfiguration(File param)
                                   throws org.apache.commons.configuration.ConfigurationException
Specified by:
loadConfiguration in interface ConfigurationLoader<ServoRobotConfig,File>
Throws:
org.apache.commons.configuration.ConfigurationException

getConfigurationClass

public Class<ServoRobotConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface ConfigurationLoader<ServoRobotConfig,File>

getParameterClass

public Class<File> getParameterClass()
Specified by:
getParameterClass in interface ConfigurationLoader<ServoRobotConfig,File>


Copyright © 2011-2012. All Rights Reserved.