public class RobotConfigXMLStreamLoader extends Object implements ConfigurationLoader<ServoRobotConfig,InputStream>
| Constructor and Description |
|---|
RobotConfigXMLStreamLoader(org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
Class<ServoRobotConfig> |
getConfigurationClass() |
VersionProperty |
getConfigurationFormat() |
Class<InputStream> |
getParameterClass() |
ServoRobotConfig |
loadConfiguration(InputStream param) |
public RobotConfigXMLStreamLoader(org.osgi.framework.BundleContext context)
public VersionProperty getConfigurationFormat()
getConfigurationFormat in interface ConfigurationLoader<ServoRobotConfig,InputStream>public ServoRobotConfig loadConfiguration(InputStream param) throws org.apache.commons.configuration.ConfigurationException
loadConfiguration in interface ConfigurationLoader<ServoRobotConfig,InputStream>org.apache.commons.configuration.ConfigurationExceptionpublic Class<ServoRobotConfig> getConfigurationClass()
getConfigurationClass in interface ConfigurationLoader<ServoRobotConfig,InputStream>public Class<InputStream> getParameterClass()
getParameterClass in interface ConfigurationLoader<ServoRobotConfig,InputStream>Copyright © 2011-2014. All Rights Reserved.