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,java.io.File>

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

Author:
Matthew Stevenson

Constructor Summary
RobotConfigXMLFileLoader(org.osgi.framework.BundleContext context)
           
 
Method Summary
 java.lang.Class<ServoRobotConfig> getConfigurationClass()
           
 org.jflux.api.common.rk.config.VersionProperty getConfigurationFormat()
           
 java.lang.Class<java.io.File> getParameterClass()
           
 ServoRobotConfig loadConfiguration(java.io.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,java.io.File>

loadConfiguration

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

getConfigurationClass

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

getParameterClass

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


Copyright © 2011-2014. All Rights Reserved.