FileDocCategorySizeDatePackage
FileParameter.javaAPI DocAzureus 3.0.3.41939Mon Nov 20 13:36:52 GMT 2006org.gudy.azureus2.pluginsimpl.local.ui.config

FileParameter

public class FileParameter extends ParameterImpl implements org.gudy.azureus2.plugins.ui.config.FileParameter
author
epall

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.StringgetDefaultValue()

return
Returns the defaultValue.

		return defaultValue;
	
public java.lang.String[]getFileExtensions()

		return this.file_extensions;
	
public java.lang.StringgetValue()

		return( config.getStringParameter( getKey(), getDefaultValue()));