org.xnap.plugin.overnet.util
Class OvernetPreferences

java.lang.Object
  extended by org.xnap.util.AbstractPluginPreferences
      extended by org.xnap.plugin.overnet.util.OvernetPreferences
All Implemented Interfaces:
PreferencesProvider, TablePreferencesProvider

public class OvernetPreferences
extends AbstractPluginPreferences


Field Summary
static int VERSION
           
 
Fields inherited from class org.xnap.util.AbstractPluginPreferences
prefs, VERSION_KEY
 
Method Summary
 void convert(int oldVersion)
          Convert the preferences from oldVersion.
static void disposeInstance()
           
 boolean getAutoconnect()
           
 java.lang.String getCommandLineOption()
           
 java.lang.String getCoreCommand()
           
 java.lang.String getCoreHost()
           
 int getCorePort()
           
static OvernetPreferences getInstance()
           
 boolean getNewDownloadID()
           
 java.lang.String getPassword()
           
 boolean getStartCore()
           
 boolean getUseCustomCommandLineOption()
           
 java.lang.String getUsername()
           
 boolean getUseXNapDownloadDirs()
           
 void setAutoconnect(boolean newValue)
           
 void setCommandLineOption(java.lang.String newValue)
           
 void setCoreCommand(java.lang.String newValue)
           
 void setCoreHost(java.lang.String newValue)
           
 void setCorePort(int newValue)
           
 void setNewDownloadID(boolean newValue)
           
 void setPassword(java.lang.String newValue)
           
 void setStartCore(boolean newValue)
           
 void setUseCustomCommandLineOption(boolean newValue)
           
 void setUsername(java.lang.String newValue)
           
 void setUseXNapDownloadDirs(boolean newValue)
           
 
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
 

Field Detail

VERSION

public static final int VERSION
See Also:
Constant Field Values
Method Detail

getInstance

public static OvernetPreferences getInstance()

disposeInstance

public static void disposeInstance()

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

getAutoconnect

public boolean getAutoconnect()

setAutoconnect

public void setAutoconnect(boolean newValue)

getCoreCommand

public java.lang.String getCoreCommand()

setCoreCommand

public void setCoreCommand(java.lang.String newValue)

getCoreHost

public java.lang.String getCoreHost()

setCoreHost

public void setCoreHost(java.lang.String newValue)

getCorePort

public int getCorePort()

setCorePort

public void setCorePort(int newValue)

getCommandLineOption

public java.lang.String getCommandLineOption()

setCommandLineOption

public void setCommandLineOption(java.lang.String newValue)

getNewDownloadID

public boolean getNewDownloadID()

setNewDownloadID

public void setNewDownloadID(boolean newValue)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String newValue)

getStartCore

public boolean getStartCore()

setStartCore

public void setStartCore(boolean newValue)

getUseCustomCommandLineOption

public boolean getUseCustomCommandLineOption()

setUseCustomCommandLineOption

public void setUseCustomCommandLineOption(boolean newValue)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String newValue)

getUseXNapDownloadDirs

public boolean getUseXNapDownloadDirs()

setUseXNapDownloadDirs

public void setUseXNapDownloadDirs(boolean newValue)


Copyright © 2001-2005 XNap Team. All Rights Reserved.