org.robokind.impl.audio.config
Class WavPlayerConfigWriter

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

public class WavPlayerConfigWriter
extends Object
implements ServiceConfigurationWriter<WavPlayerConfig,File>

Author:
Matthew Stevenson

Field Summary
 
Fields inherited from interface org.robokind.api.common.services.ServiceConfigurationWriter
PROP_CONFIG_FORMAT_VERSION, PROP_PARAMETER_CLASS, PROP_SERVICE_CONFIG_CLASS
 
Constructor Summary
WavPlayerConfigWriter()
           
 
Method Summary
 Class<WavPlayerConfig> getConfigurationClass()
           
 VersionProperty getConfigurationFormat()
           
 Class<File> getParameterClass()
           
 boolean writeConfiguration(WavPlayerConfig config, File param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WavPlayerConfigWriter

public WavPlayerConfigWriter()
Method Detail

getConfigurationFormat

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

writeConfiguration

public boolean writeConfiguration(WavPlayerConfig config,
                                  File param)
                           throws IOException
Specified by:
writeConfiguration in interface ServiceConfigurationWriter<WavPlayerConfig,File>
Throws:
IOException

getConfigurationClass

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

getParameterClass

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


Copyright © 2011-2012. All Rights Reserved.