TPTP 4.4.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.execution.recorder.local.appadapters
Class FirefoxPrefs

java.lang.Object
  extended byorg.eclipse.hyades.execution.recorder.local.appadapters.FirefoxPrefs

Deprecated. This is not public API. It will be moved to internal in TPTP 5

public class FirefoxPrefs
extends java.lang.Object

This object is the support methods for the FireFoxAdapter. In particular, this object is able to read and modify user preference settings to cause Firefox to use a particular host and port for proxy recording. .


Field Summary
 int AUTO_CONFIG_URL
          Deprecated.  
 int BROWSER_IN_USE
          Deprecated.  
 int BROWSER_NOT_FOUND
          Deprecated.  
 java.lang.String firefoxDefaultPrefsPath
          Deprecated.  
 java.lang.String firefoxDefaultPrefsPathDir
          Deprecated.  
 java.lang.String firefoxPrefsFilePath
          Deprecated.  
 java.lang.String firefoxUserPrefsPath
          Deprecated.  
 java.lang.String firefoxUserPrefsPathDir
          Deprecated.  
 int HTTP_PROXY_ONLY_SET
          Deprecated.  
 int HTTP_PROXY_OVERRIDE
          Deprecated.  
 int HTTP_SECURE_LOCALHOST
          Deprecated.  
 int HTTP_SECURE_MISMATCH
          Deprecated.  
static java.lang.String mylocalhost
          Deprecated.  
static java.lang.String PREFERENCE_PATH
          Deprecated.  
 int PREFS_NOT_FOUND
          Deprecated.  
 int PROXY_SETTINGS_OK
          Deprecated.  
 int SECURE_PROXY_ONLY_SET
          Deprecated.  
 int SOCKS_SET
          Deprecated.  
 
Constructor Summary
FirefoxPrefs()
          Deprecated.  
FirefoxPrefs(FirefoxPrefs originalPrefs)
          Deprecated.  
FirefoxPrefs(FirefoxPrefs myMozDefaultPrefs, FirefoxPrefs myMozUserPrefs)
          Deprecated.  
FirefoxPrefs(int proxyPort)
          Deprecated.  
FirefoxPrefs(int proxyPort, boolean checkAbortStatus)
          Deprecated.  
FirefoxPrefs(int proxyPort, java.lang.String sslKeyFilePath)
          Deprecated.  
FirefoxPrefs(java.lang.String thePrefsFilePath)
          Deprecated.  
 
Method Summary
 int copyPrefsFile(java.lang.String fromPrefsPath, java.lang.String toPrefsPath)
          Deprecated.  
 java.lang.StringBuffer generateNewPrefsBuffer()
          Deprecated.  
 int getAdapterError()
          Deprecated.  
 java.lang.String getApplicationPath()
          Deprecated.  
 int getAUTO_CONFIG_URL()
          Deprecated.  
 java.lang.String getAutoConfigURLEnabledValue()
          Deprecated.  
 java.lang.String getDefaultApplicationPath()
          Deprecated.  
 java.lang.String getFIND_AUTO_CONFIG_URL()
          Deprecated.  
 java.lang.String getFIND_HOMEPAGE()
          Deprecated.  
 java.lang.String getFIND_HTTP_PROXY_PORT()
          Deprecated.  
 java.lang.String getFIND_HTTP_PROXY()
          Deprecated.  
 java.lang.String getFIND_PROXY_OVERRIDE()
          Deprecated.  
 java.lang.String getFIND_SOCKS_PROXY_PORT()
          Deprecated.  
 java.lang.String getFIND_SOCKS_PROXY()
          Deprecated.  
 java.lang.String getFIND_SOCKS_VERSION()
          Deprecated.  
 java.lang.String getFIND_SSL_PROXY_PORT()
          Deprecated.  
 java.lang.String getFIND_SSL_PROXY()
          Deprecated.  
 java.lang.String getHomePage()
          Deprecated.  
 int getHTTP_PROXY_ONLY_SET()
          Deprecated.  
 int getHTTP_PROXY_OVERRIDE()
          Deprecated.  
 int getHTTP_SECURE_LOCALHOST()
          Deprecated.  
 int getHTTP_SECURE_MISMATCH()
          Deprecated.  
 java.lang.String getHttpProxyAddr()
          Deprecated.  
 java.lang.String getHttpProxyPort()
          Deprecated.  
 FirefoxPrefs getPrefsToUse()
          Deprecated.  
 int getProxyError()
          Deprecated.  
 java.lang.String getProxyOverrideAddr()
          Deprecated.  
 java.lang.String getProxyType()
          Deprecated.  
 java.lang.StringBuffer getRecFileContent(java.lang.String recFilePath)
          Deprecated.  
 int getSECURE_PROXY_ONLY_SET()
          Deprecated.  
 int getSOCKS_SET()
          Deprecated.  
 java.lang.String getSocksProxyAddr()
          Deprecated.  
 java.lang.String getSocksProxyPort()
          Deprecated.  
 java.lang.String getSocksVersion()
          Deprecated.  
 java.lang.String getSslProxyAddr()
          Deprecated.  
 java.lang.String getSslProxyPort()
          Deprecated.  
 void init(boolean checkAbortFlag)
          Deprecated.  
 boolean isAdapterProblem()
          Deprecated.  
 boolean isAutoConfigURLEnabled()
          Deprecated.  
 boolean isBadProxySettings()
          Deprecated.  
 boolean isHttpProxyEnabled()
          Deprecated.  
 boolean isProxyOverrideEnabled()
          Deprecated.  
 boolean isSocksProxyEnabled()
          Deprecated.  
 boolean isSSLProxyEnabled()
          Deprecated.  
 void scanPrefsContent(java.lang.StringBuffer prefsFileContents)
          Deprecated.  
 java.lang.String scanRecFileContent(java.lang.StringBuffer recFileContents)
          Deprecated.  
 void setAdapterError(int adapterError)
          Deprecated.  
 void setAdapterProblem(boolean isAdapterProblem)
          Deprecated.  
 void setBadProxySettings(boolean badProxySettings)
          Deprecated.  
 void setCurrentPrefs(FirefoxPrefs newPrefs)
          Deprecated.  
 void setProxyError(int proxyError)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_SETTINGS_OK

public final int PROXY_SETTINGS_OK
Deprecated. 
See Also:
Constant Field Values

SOCKS_SET

public final int SOCKS_SET
Deprecated. 
See Also:
Constant Field Values

HTTP_PROXY_ONLY_SET

public final int HTTP_PROXY_ONLY_SET
Deprecated. 
See Also:
Constant Field Values

SECURE_PROXY_ONLY_SET

public final int SECURE_PROXY_ONLY_SET
Deprecated. 
See Also:
Constant Field Values

HTTP_SECURE_MISMATCH

public final int HTTP_SECURE_MISMATCH
Deprecated. 
See Also:
Constant Field Values

HTTP_SECURE_LOCALHOST

public final int HTTP_SECURE_LOCALHOST
Deprecated. 
See Also:
Constant Field Values

HTTP_PROXY_OVERRIDE

public final int HTTP_PROXY_OVERRIDE
Deprecated. 
See Also:
Constant Field Values

AUTO_CONFIG_URL

public final int AUTO_CONFIG_URL
Deprecated. 
See Also:
Constant Field Values

PREFS_NOT_FOUND

public final int PREFS_NOT_FOUND
Deprecated. 
See Also:
Constant Field Values

BROWSER_NOT_FOUND

public final int BROWSER_NOT_FOUND
Deprecated. 
See Also:
Constant Field Values

BROWSER_IN_USE

public final int BROWSER_IN_USE
Deprecated. 
See Also:
Constant Field Values
Provisional API: This API is subject to change in the next release.
As of TPTP V4.4.0, this is stable provisional API (see http://www.eclipse.org/tptp/home/documents/process/development/api_contract.html).

firefoxDefaultPrefsPath

public java.lang.String firefoxDefaultPrefsPath
Deprecated. 

firefoxUserPrefsPath

public java.lang.String firefoxUserPrefsPath
Deprecated. 

firefoxDefaultPrefsPathDir

public java.lang.String firefoxDefaultPrefsPathDir
Deprecated. 

firefoxUserPrefsPathDir

public java.lang.String firefoxUserPrefsPathDir
Deprecated. 

firefoxPrefsFilePath

public java.lang.String firefoxPrefsFilePath
Deprecated. 

PREFERENCE_PATH

public static final java.lang.String PREFERENCE_PATH
Deprecated. 
See Also:
Constant Field Values

mylocalhost

public static final java.lang.String mylocalhost
Deprecated. 
See Also:
Constant Field Values
Provisional API: This API is subject to change in the next release.
As of TPTP V4.4.0, this is stable provisional API (see http://www.eclipse.org/tptp/home/documents/process/development/api_contract.html).
Constructor Detail

FirefoxPrefs

public FirefoxPrefs()
Deprecated. 

FirefoxPrefs

public FirefoxPrefs(int proxyPort)
Deprecated. 

FirefoxPrefs

public FirefoxPrefs(int proxyPort,
                    boolean checkAbortStatus)
Deprecated. 

FirefoxPrefs

public FirefoxPrefs(int proxyPort,
                    java.lang.String sslKeyFilePath)
Deprecated. 

FirefoxPrefs

public FirefoxPrefs(java.lang.String thePrefsFilePath)
Deprecated. 

FirefoxPrefs

public FirefoxPrefs(FirefoxPrefs originalPrefs)
Deprecated. 

FirefoxPrefs

public FirefoxPrefs(FirefoxPrefs myMozDefaultPrefs,
                    FirefoxPrefs myMozUserPrefs)
Deprecated. 
Method Detail

getApplicationPath

public java.lang.String getApplicationPath()
Deprecated. 

scanPrefsContent

public void scanPrefsContent(java.lang.StringBuffer prefsFileContents)
Deprecated. 

setCurrentPrefs

public void setCurrentPrefs(FirefoxPrefs newPrefs)
Deprecated. 

init

public void init(boolean checkAbortFlag)
Deprecated. 

getPrefsToUse

public FirefoxPrefs getPrefsToUse()
Deprecated. 

getAUTO_CONFIG_URL

public int getAUTO_CONFIG_URL()
Deprecated. 

getAutoConfigURLEnabledValue

public java.lang.String getAutoConfigURLEnabledValue()
Deprecated. 

isBadProxySettings

public boolean isBadProxySettings()
Deprecated. 

getFIND_AUTO_CONFIG_URL

public java.lang.String getFIND_AUTO_CONFIG_URL()
Deprecated. 

getFIND_HOMEPAGE

public java.lang.String getFIND_HOMEPAGE()
Deprecated. 

getFIND_HTTP_PROXY

public java.lang.String getFIND_HTTP_PROXY()
Deprecated. 

getFIND_HTTP_PROXY_PORT

public java.lang.String getFIND_HTTP_PROXY_PORT()
Deprecated. 

getFIND_PROXY_OVERRIDE

public java.lang.String getFIND_PROXY_OVERRIDE()
Deprecated. 

getFIND_SOCKS_PROXY

public java.lang.String getFIND_SOCKS_PROXY()
Deprecated. 

getFIND_SOCKS_PROXY_PORT

public java.lang.String getFIND_SOCKS_PROXY_PORT()
Deprecated. 

getFIND_SOCKS_VERSION

public java.lang.String getFIND_SOCKS_VERSION()
Deprecated. 

getFIND_SSL_PROXY

public java.lang.String getFIND_SSL_PROXY()
Deprecated. 

getFIND_SSL_PROXY_PORT

public java.lang.String getFIND_SSL_PROXY_PORT()
Deprecated. 

getHomePage

public java.lang.String getHomePage()
Deprecated. 

getHTTP_PROXY_ONLY_SET

public int getHTTP_PROXY_ONLY_SET()
Deprecated. 

getHTTP_PROXY_OVERRIDE

public int getHTTP_PROXY_OVERRIDE()
Deprecated. 

getHTTP_SECURE_LOCALHOST

public int getHTTP_SECURE_LOCALHOST()
Deprecated. 

getHTTP_SECURE_MISMATCH

public int getHTTP_SECURE_MISMATCH()
Deprecated. 

getHttpProxyAddr

public java.lang.String getHttpProxyAddr()
Deprecated. 

getHttpProxyPort

public java.lang.String getHttpProxyPort()
Deprecated. 

isAutoConfigURLEnabled

public boolean isAutoConfigURLEnabled()
Deprecated. 

isHttpProxyEnabled

public boolean isHttpProxyEnabled()
Deprecated. 

isProxyOverrideEnabled

public boolean isProxyOverrideEnabled()
Deprecated. 

isSocksProxyEnabled

public boolean isSocksProxyEnabled()
Deprecated. 

isSSLProxyEnabled

public boolean isSSLProxyEnabled()
Deprecated. 

getProxyError

public int getProxyError()
Deprecated. 

getAdapterError

public int getAdapterError()
Deprecated. 

getProxyOverrideAddr

public java.lang.String getProxyOverrideAddr()
Deprecated. 

getProxyType

public java.lang.String getProxyType()
Deprecated. 

getSECURE_PROXY_ONLY_SET

public int getSECURE_PROXY_ONLY_SET()
Deprecated. 

getSOCKS_SET

public int getSOCKS_SET()
Deprecated. 

getSocksProxyAddr

public java.lang.String getSocksProxyAddr()
Deprecated. 

getSocksProxyPort

public java.lang.String getSocksProxyPort()
Deprecated. 

getSocksVersion

public java.lang.String getSocksVersion()
Deprecated. 

getSslProxyAddr

public java.lang.String getSslProxyAddr()
Deprecated. 

getSslProxyPort

public java.lang.String getSslProxyPort()
Deprecated. 

setBadProxySettings

public void setBadProxySettings(boolean badProxySettings)
Deprecated. 
Parameters:
badProxySettings - The badProxySettings to set.

setProxyError

public void setProxyError(int proxyError)
Deprecated. 
Parameters:
proxyError - The proxyError to set.

generateNewPrefsBuffer

public java.lang.StringBuffer generateNewPrefsBuffer()
Deprecated. 

copyPrefsFile

public int copyPrefsFile(java.lang.String fromPrefsPath,
                         java.lang.String toPrefsPath)
Deprecated. 

isAdapterProblem

public boolean isAdapterProblem()
Deprecated. 

setAdapterProblem

public void setAdapterProblem(boolean isAdapterProblem)
Deprecated. 

setAdapterError

public void setAdapterError(int adapterError)
Deprecated. 

getRecFileContent

public java.lang.StringBuffer getRecFileContent(java.lang.String recFilePath)
Deprecated. 

scanRecFileContent

public java.lang.String scanRecFileContent(java.lang.StringBuffer recFileContents)
Deprecated. 

getDefaultApplicationPath

public java.lang.String getDefaultApplicationPath()
Deprecated. 

TPTP 4.4.0 Testing Tools Project
Public API Specification