org.xnap.plugin.opennap.util
Class OpenNapPreferences
java.lang.Object
org.xnap.util.AbstractPluginPreferences
org.xnap.plugin.opennap.util.OpenNapPreferences
- All Implemented Interfaces:
- PreferencesProvider, TablePreferencesProvider
public class OpenNapPreferences
- extends AbstractPluginPreferences
Provides the preferences for the OpenNapPlugin
. This class should
only be instanziated once. Use OpenNapPlugin.getPreferences()
to
access that instance.
If you hack around, make sure all pathes are returned with a trailing
file separator and all values are initialized to something other than
null.
Most important, keep all preferences sorted alphabetically everywhere.
Methods inherited from class org.xnap.util.AbstractPluginPreferences |
addPropertyChangeListener, addPropertyChangeListener, addTableListener, get, getArray, getBoolean, getColor, getFont, getInt, getIntArray, getKeyStroke, getLong, getNotShowDialog, getTableColumns, getTableColumnWidths, getTableMaintainSortOrder, getTableSortedColumn, removeProperty, removePropertyChangeListener, removePropertyChangeListener, renameProperty, set, set, set, set, set, set, set, set, set, setDefault, setDefault, setNotShowDialog, setTableColumns, setTableColumnWidths, setTableMaintainSortOrder, setTableSortedColumn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
OpenNapPreferences
public OpenNapPreferences()
convert
public void convert(int oldVersion)
- Description copied from class:
AbstractPluginPreferences
- Convert the preferences from
oldVersion
. The
default implementation does nothing. Sub classes should
overwrite this method.
- Overrides:
convert
in class AbstractPluginPreferences
getAutoFetchNapigator
public boolean getAutoFetchNapigator()
setAutoFetchNapigator
public void setAutoFetchNapigator(boolean newValue)
getAutoFetchNapigatorInterval
public int getAutoFetchNapigatorInterval()
setAutoFetchNapigatorInterval
public void setAutoFetchNapigatorInterval(int newValue)
getAutoLoadNapigator
public boolean getAutoLoadNapigator()
setAutoLoadNapigator
public void setAutoLoadNapigator(boolean newValue)
getAutoResumeDownloads
public boolean getAutoResumeDownloads()
setAutoResumeDownloads
public void setAutoResumeDownloads(boolean newValue)
getAutoResumeConnectedCount
public int getAutoResumeConnectedCount()
setAutoResumeConnectedCount
public void setAutoResumeConnectedCount(int newValue)
getAutoSaveNapigator
public boolean getAutoSaveNapigator()
setAutoSaveNapigator
public void setAutoSaveNapigator(boolean newValue)
getClientInfo
public java.lang.String getClientInfo()
setClientInfo
public void setClientInfo(java.lang.String newValue)
getCustomizeClientInfo
public boolean getCustomizeClientInfo()
setCustomizeClientInfo
public void setCustomizeClientInfo(boolean newValue)
getFakeNetworks
public java.lang.String getFakeNetworks()
getFilterNetworks
public java.lang.String getFilterNetworks()
getFirewalled
public boolean getFirewalled()
setFirewalled
public void setFirewalled(boolean newValue)
getLimitSearchServers
public boolean getLimitSearchServers()
setLimitSearchServers
public void setLimitSearchServers(boolean newValue)
getLimitSearchResultsPerServer
public boolean getLimitSearchResultsPerServer()
setLimitSearchResultsPerServer
public void setLimitSearchResultsPerServer(boolean newValue)
getLimitSharesPerServer
public boolean getLimitSharesPerServer()
setLimitSharesPerServer
public void setLimitSharesPerServer(boolean newValue)
getLocalPortRange
public java.lang.String getLocalPortRange()
setLocalPortRange
public void setLocalPortRange(java.lang.String newValue)
getMaxAutoconnectServers
public int getMaxAutoconnectServers()
setMaxAutoconnectServers
public void setMaxAutoconnectServers(int newValue)
getMaxLoginsPerNetwork
public int getMaxLoginsPerNetwork()
getMaxPacketsPerTick
public int getMaxPacketsPerTick()
getMaxSearchResultsPerServer
public int getMaxSearchResultsPerServer()
setMaxSearchResultsPerServer
public void setMaxSearchResultsPerServer(int newValue)
getMaxSearchServers
public int getMaxSearchServers()
setMaxSearchServers
public void setMaxSearchServers(int newValue)
getMaxSharesPerServer
public int getMaxSharesPerServer()
setMaxSharesPerServer
public void setMaxSharesPerServer(int newValue)
getMultiSourceDownloading
public boolean getMultiSourceDownloading()
setMultiSourceDownloading
public void setMultiSourceDownloading(boolean newValue)
getNapigatorFile
public java.lang.String getNapigatorFile()
getNapigatorURL
public java.lang.String getNapigatorURL()
setNapigatorURL
public void setNapigatorURL(java.lang.String url)
getRemoveFailedServers
public boolean getRemoveFailedServers()
setRemoveFailedServers
public void setRemoveFailedServers(boolean newValue)
getSendWholeRepository
public boolean getSendWholeRepository()
setSendWholeRepository
public void setSendWholeRepository(boolean newValue)
getServerFile
public java.lang.String getServerFile()
getUseAutoconnector
public boolean getUseAutoconnector()
setUseAutoconnector
public void setUseAutoconnector(boolean newValue)
getUseUTF8Encoding
public boolean getUseUTF8Encoding()
setUseUTF8Encoding
public void setUseUTF8Encoding(boolean newValue)
getSeenStartupWizard
public boolean getSeenStartupWizard()
setSeenStartupWizard
public void setSeenStartupWizard(boolean newValue)
getTickLength
public long getTickLength()
getWhoisQueryOnTransfer
public boolean getWhoisQueryOnTransfer()
setWhoisQueryOnTransfer
public void setWhoisQueryOnTransfer(boolean newValue)
Copyright © 2001-2005 XNap Team. All Rights Reserved.