FileParameterpublic class FileParameter extends ParameterImpl implements org.gudy.azureus2.plugins.ui.config.FileParameter
Fields Summary |
---|
private String | defaultValue | private String[] | file_extensions |
Constructors Summary |
---|
public FileParameter(org.gudy.azureus2.plugins.PluginConfig config, String key, String label, String defaultValue)
this(config, key, label, defaultValue, null);
| public FileParameter(org.gudy.azureus2.plugins.PluginConfig config, String key, String label, String defaultValue, String[] file_extensions)
super(config, key, label);
this.defaultValue = defaultValue;
this.file_extensions = file_extensions;
COConfigurationManager.setStringDefault(getKey(), getDefaultValue());
|
Methods Summary |
---|
public java.lang.String | getDefaultValue()
return defaultValue;
| public java.lang.String[] | getFileExtensions()
return this.file_extensions;
| public java.lang.String | getValue()
return( config.getStringParameter( getKey(), getDefaultValue()));
|
|