Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fluidsynth.api.settings
Class RawStringSetting  view RawStringSetting download RawStringSetting.java

java.lang.Object
  extended byorg.fluidsynth.api.settings.Setting
      extended byorg.fluidsynth.api.settings.StringSetting
          extended byorg.fluidsynth.api.settings.RawStringSetting

public class RawStringSetting
extends StringSetting

Specialized subclass of string setting that returns the raw value as the command line argument. This is handy for treating the synth pathname and any extra args as settings.


Field Summary
 
Fields inherited from class org.fluidsynth.api.settings.Setting
 
Constructor Summary
RawStringSetting()
           
 
Method Summary
 java.lang.String commandLineArg()
          Return the command line argument used to communicate the current value of this setting to fluidsynth.
 
Methods inherited from class org.fluidsynth.api.settings.StringSetting
objectGet, objectSet, validate
 
Methods inherited from class org.fluidsynth.api.settings.Setting
dirty, getCommandLineOption, getDefaultValue, getName, getRealtime, getValue, isRealtime, isUserModified, merge, setCommandLineOption, setDefaultValue, setName, setRealtime, setSettings, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawStringSetting

public RawStringSetting()
Method Detail

commandLineArg

public java.lang.String commandLineArg()
Description copied from class: Setting
Return the command line argument used to communicate the current value of this setting to fluidsynth. E.g., when the value of the audio.driver setting is "alsa", this method returns --audio-driver=alsa.

Overrides:
commandLineArg in class Setting