org.mechio.impl.motion.config
Class RobotConfigXMLFileLoader

java.lang.Object
  extended by org.mechio.impl.motion.config.RobotConfigXMLFileLoader
All Implemented Interfaces:
org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,File>

public class RobotConfigXMLFileLoader
extends Object
implements org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,File>

Author:
Matthew Stevenson

Constructor Summary
RobotConfigXMLFileLoader(org.osgi.framework.BundleContext context)
           
 
Method Summary
 Class<ServoRobotConfig> getConfigurationClass()
           
 org.jflux.api.common.rk.config.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 org.jflux.api.common.rk.config.VersionProperty getConfigurationFormat()
Specified by:
getConfigurationFormat in interface org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,File>

loadConfiguration

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

getConfigurationClass

public Class<ServoRobotConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,File>

getParameterClass

public Class<File> getParameterClass()
Specified by:
getParameterClass in interface org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,File>


Copyright © 2011-2015. All Rights Reserved.