org.gudy.azureus2.pluginsimpl.local.ui.config
Class FileParameter

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
      extended by org.gudy.azureus2.pluginsimpl.local.ui.config.FileParameter
All Implemented Interfaces:
ParameterListener, ConfigParameter, EnablerParameter, FileParameter, Parameter

public class FileParameter
extends ParameterImpl
implements FileParameter


Field Summary
 
Fields inherited from class org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
config
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.config.Parameter
MODE_ADVANCED, MODE_BEGINNER, MODE_INTERMEDIATE
 
Constructor Summary
FileParameter(PluginConfigImpl config, String key, String label, String defaultValue)
           
FileParameter(PluginConfigImpl config, String key, String label, String defaultValue, String[] file_extensions)
           
 
Method Summary
 String getDefaultValue()
           
 String[] getFileExtensions()
           
 String getValue()
           
 
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
addConfigParameterListener, addDisabledOnSelection, addEnabledOnSelection, addImplListener, addListener, destroy, fireParameterChanged, getConfigKeyName, getDisabledOnSelectionParameters, getEnabledOnSelectionParameters, getGenerateIntermediateEvents, getGroup, getKey, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isVisible, parameterChanged, removeConfigParameterListener, removeImplListener, removeListener, setEnabled, setGenerateIntermediateEvents, setGroup, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gudy.azureus2.plugins.ui.config.Parameter
addListener, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isVisible, removeListener, setEnabled, setGenerateIntermediateEvents, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible
 
Methods inherited from interface org.gudy.azureus2.plugins.config.ConfigParameter
addConfigParameterListener, removeConfigParameterListener
 

Constructor Detail

FileParameter

public FileParameter(PluginConfigImpl config,
                     String key,
                     String label,
                     String defaultValue)

FileParameter

public FileParameter(PluginConfigImpl config,
                     String key,
                     String label,
                     String defaultValue,
                     String[] file_extensions)
Method Detail

getDefaultValue

public String getDefaultValue()
Returns:
Returns the defaultValue.

getValue

public String getValue()
Specified by:
getValue in interface FileParameter

getFileExtensions

public String[] getFileExtensions()