org.robokind.impl.audio.config
Class WavPlayerConfigLoader

java.lang.Object
  extended by org.robokind.impl.audio.config.WavPlayerConfigLoader
All Implemented Interfaces:
ServiceConfigurationLoader<WavPlayerConfig,File>

public class WavPlayerConfigLoader
extends Object
implements ServiceConfigurationLoader<WavPlayerConfig,File>

Author:
Matthew Stevenson

Field Summary
static VersionProperty VERSION
          Config format VersionProperty.
static String VERSION_NAME
          Config format version name.
static String VERSION_NUMBER
          Config format version number.
 
Fields inherited from interface org.robokind.api.common.services.ServiceConfigurationLoader
PROP_CONFIG_FORMAT_VERSION, PROP_PARAMETER_CLASS, PROP_SERVICE_CONFIG_CLASS
 
Constructor Summary
WavPlayerConfigLoader()
           
 
Method Summary
 Class<WavPlayerConfig> getConfigurationClass()
           
 VersionProperty getConfigurationFormat()
           
 Class<File> getParameterClass()
           
 WavPlayerConfig 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 version number.

See Also:
Constant Field Values

VERSION

public static final VersionProperty VERSION
Config format VersionProperty.

Constructor Detail

WavPlayerConfigLoader

public WavPlayerConfigLoader()
Method Detail

getConfigurationFormat

public VersionProperty getConfigurationFormat()
Specified by:
getConfigurationFormat in interface ServiceConfigurationLoader<WavPlayerConfig,File>

loadConfiguration

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

getConfigurationClass

public Class<WavPlayerConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface ServiceConfigurationLoader<WavPlayerConfig,File>

getParameterClass

public Class<File> getParameterClass()
Specified by:
getParameterClass in interface ServiceConfigurationLoader<WavPlayerConfig,File>


Copyright © 2011-2012. All Rights Reserved.