org.mechio.impl.motion.config
Class RobotConfigXMLStreamLoader
java.lang.Object
org.mechio.impl.motion.config.RobotConfigXMLStreamLoader
- All Implemented Interfaces:
- org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,java.io.InputStream>
public class RobotConfigXMLStreamLoader
- extends java.lang.Object
- implements org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,java.io.InputStream>
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobotConfigXMLStreamLoader
public RobotConfigXMLStreamLoader(org.osgi.framework.BundleContext context)
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.InputStream>
loadConfiguration
public ServoRobotConfig loadConfiguration(java.io.InputStream param)
throws org.apache.commons.configuration.ConfigurationException
- Specified by:
loadConfiguration in interface org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,java.io.InputStream>
- 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.InputStream>
getParameterClass
public java.lang.Class<java.io.InputStream> getParameterClass()
- Specified by:
getParameterClass in interface org.jflux.api.common.rk.services.ConfigurationLoader<ServoRobotConfig,java.io.InputStream>
Copyright © 2011-2014. All Rights Reserved.