com.myjavaworld.jftp
Class JFTPPreferences

java.lang.Object
  extended by com.myjavaworld.jftp.JFTPPreferences
All Implemented Interfaces:
Serializable

public class JFTPPreferences
extends Object
implements Serializable

A serializable class used to store various user preferences

Version:
2.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com
See Also:
Serialized Form

Constructor Summary
JFTPPreferences()
           
 
Method Summary
 int getBufferSize()
           
 boolean getCheckForUpdates()
           
 String getClient()
           
 String getClientCertificateStore()
           
 char[] getClientCertificateStorePassword()
           
 int getDateFormat()
           
 int getDefaultTransferType()
           
 String getEmail()
           
 int getImplicitSSLPort()
           
 String getLicenseAgreedForVersion()
           
 String getListParser()
           
 String getLocalDirectory()
           
 Locale getLocale()
           
 String getLookAndFeelClassName()
           
 String getProxyHost()
           
 char[] getProxyPassword()
           
 int getProxyPort()
           
 String getProxyUser()
           
 String getServerCertificateStore()
           
 char[] getServerCertificateStorePassword()
           
 int getSSLUsage()
           
 String getTheme()
           
 int getTimeFormat()
           
 int getTimeout()
           
 int getToolBarType()
           
 Map getTransferTypes()
           
 boolean getUseJavaWindows()
           
 Rectangle getWindowBounds()
           
 boolean isDataChannelUnencrypted()
           
 boolean isLicenseAgreed()
           
 boolean isPassive()
           
 boolean isUseProxy()
           
 void setBufferSize(int bufferSize)
           
 void setCheckForUpdates(boolean checkForUpdates)
           
 void setClient(String client)
           
 void setClientCertificateStore(String fileName)
           
 void setClientCertificateStorePassword(char[] password)
           
 void setDataChannelUnencrypted(boolean dataChannelUnencrypted)
           
 void setDateFormat(int dateFormat)
           
 void setDefaultTransferType(int defaultTransferType)
           
 void setEmail(String email)
           
 void setImplicitSSLPort(int implicitSSLPort)
           
 void setLicenseAgreed(boolean licenseAgreed)
           
 void setLicenseAgreedForVersion(String licenseAgreedForVersion)
           
 void setListParser(String listParser)
           
 void setLocalDirectory(String localDirectory)
           
 void setLocale(Locale locale)
           
 void setLookAndFeelClassName(String laf)
           
 void setPassive(boolean passive)
           
 void setProxyHost(String proxyHost)
           
 void setProxyPassword(char[] proxyPassword)
           
 void setProxyPort(int proxyPort)
           
 void setProxyUser(String proxyUser)
           
 void setServerCertificateStore(String fileName)
           
 void setServerCertificateStorePassword(char[] password)
           
 void setSSLUsage(int sslUsage)
           
 void setTheme(String theme)
           
 void setTimeFormat(int timeFormat)
           
 void setTimeout(int timeout)
           
 void setToolBarType(int toolBarType)
           
 void setTransferTypes(Map transferTypes)
           
 void setUseJavaWindows(boolean useJavaWindows)
           
 void setUseProxy(boolean useProxy)
           
 void setWindowBounds(Rectangle windowBounds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFTPPreferences

public JFTPPreferences()
Method Detail

setLocale

public void setLocale(Locale locale)

getLocale

public Locale getLocale()

setLookAndFeelClassName

public void setLookAndFeelClassName(String laf)

getLookAndFeelClassName

public String getLookAndFeelClassName()

setTheme

public void setTheme(String theme)

getTheme

public String getTheme()

setClient

public void setClient(String client)

getClient

public String getClient()

setListParser

public void setListParser(String listParser)

getListParser

public String getListParser()

setEmail

public void setEmail(String email)

getEmail

public String getEmail()

setTimeout

public void setTimeout(int timeout)

getTimeout

public int getTimeout()

setBufferSize

public void setBufferSize(int bufferSize)

getBufferSize

public int getBufferSize()

setLocalDirectory

public void setLocalDirectory(String localDirectory)

getLocalDirectory

public String getLocalDirectory()

setDateFormat

public void setDateFormat(int dateFormat)

getDateFormat

public int getDateFormat()

setTimeFormat

public void setTimeFormat(int timeFormat)

getTimeFormat

public int getTimeFormat()

setDefaultTransferType

public void setDefaultTransferType(int defaultTransferType)

getDefaultTransferType

public int getDefaultTransferType()

setTransferTypes

public void setTransferTypes(Map transferTypes)

getTransferTypes

public Map getTransferTypes()

setPassive

public void setPassive(boolean passive)

isPassive

public boolean isPassive()

setUseJavaWindows

public void setUseJavaWindows(boolean useJavaWindows)

getUseJavaWindows

public boolean getUseJavaWindows()

setToolBarType

public void setToolBarType(int toolBarType)

getToolBarType

public int getToolBarType()

setServerCertificateStore

public void setServerCertificateStore(String fileName)

getServerCertificateStore

public String getServerCertificateStore()

setClientCertificateStore

public void setClientCertificateStore(String fileName)

getClientCertificateStore

public String getClientCertificateStore()

setServerCertificateStorePassword

public void setServerCertificateStorePassword(char[] password)

getServerCertificateStorePassword

public char[] getServerCertificateStorePassword()

setClientCertificateStorePassword

public void setClientCertificateStorePassword(char[] password)

getClientCertificateStorePassword

public char[] getClientCertificateStorePassword()

setUseProxy

public void setUseProxy(boolean useProxy)

isUseProxy

public boolean isUseProxy()

setProxyHost

public void setProxyHost(String proxyHost)

getProxyHost

public String getProxyHost()

setProxyPort

public void setProxyPort(int proxyPort)

getProxyPort

public int getProxyPort()

setProxyUser

public void setProxyUser(String proxyUser)

getProxyUser

public String getProxyUser()

setProxyPassword

public void setProxyPassword(char[] proxyPassword)

getProxyPassword

public char[] getProxyPassword()

setSSLUsage

public void setSSLUsage(int sslUsage)

getSSLUsage

public int getSSLUsage()

setImplicitSSLPort

public void setImplicitSSLPort(int implicitSSLPort)

getImplicitSSLPort

public int getImplicitSSLPort()

setDataChannelUnencrypted

public void setDataChannelUnencrypted(boolean dataChannelUnencrypted)

isDataChannelUnencrypted

public boolean isDataChannelUnencrypted()

setWindowBounds

public void setWindowBounds(Rectangle windowBounds)

getWindowBounds

public Rectangle getWindowBounds()

setLicenseAgreed

public void setLicenseAgreed(boolean licenseAgreed)

isLicenseAgreed

public boolean isLicenseAgreed()

getLicenseAgreedForVersion

public String getLicenseAgreedForVersion()
Returns:
Returns the licenseAgreedForVersion.

setLicenseAgreedForVersion

public void setLicenseAgreedForVersion(String licenseAgreedForVersion)
Parameters:
licenseAgreedForVersion - The licenseAgreedForVersion to set.

getCheckForUpdates

public boolean getCheckForUpdates()

setCheckForUpdates

public void setCheckForUpdates(boolean checkForUpdates)


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.