org.robokind.impl.motion.sync
Class SynchronizedRobotConfigLoader

java.lang.Object
  extended by org.robokind.impl.motion.sync.SynchronizedRobotConfigLoader
All Implemented Interfaces:
ConfigurationLoader<SynchronizedRobotConfig,File>

public class SynchronizedRobotConfigLoader
extends Object
implements ConfigurationLoader<SynchronizedRobotConfig,File>

Author:
Matthew Stevenson

Field Summary
static VersionProperty VERSION
          Config format type VersionProperty.
static String VERSION_NAME
          Config format version name.
static String VERSION_NUMBER
          Config format type version number.
 
Constructor Summary
SynchronizedRobotConfigLoader()
           
 
Method Summary
 Class<SynchronizedRobotConfig> getConfigurationClass()
           
 VersionProperty getConfigurationFormat()
           
 Class<File> getParameterClass()
           
 SynchronizedRobotConfig loadConfiguration(File param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_NAME

public static final String VERSION_NAME
Config format version name.

See Also:
Constant Field Values

VERSION_NUMBER

public static final String VERSION_NUMBER
Config format type version number.

See Also:
Constant Field Values

VERSION

public static final VersionProperty VERSION
Config format type VersionProperty.

Constructor Detail

SynchronizedRobotConfigLoader

public SynchronizedRobotConfigLoader()
Method Detail

getConfigurationFormat

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

loadConfiguration

public SynchronizedRobotConfig loadConfiguration(File param)
                                          throws Exception
Specified by:
loadConfiguration in interface ConfigurationLoader<SynchronizedRobotConfig,File>
Throws:
Exception

getConfigurationClass

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

getParameterClass

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


Copyright © 2011-2012. All Rights Reserved.