Package org.loboevolution.store
Class ConnectionStore
java.lang.Object
org.loboevolution.store.ConnectionStore
- All Implemented Interfaces:
Serializable
,QueryStore
ConnectionStore class.
- See Also:
-
Field Summary
Fields inherited from interface org.loboevolution.store.QueryStore
CONNECTIONS, DELETE_BOOKMARKS, DELETE_BOOKMARKS_BY_URL, DELETE_CONNECTIONS, DELETE_DOWNLOAD, DELETE_HOST, DELETE_HOST_BY_URL, DELETE_LAF, DELETE_SEARCH, DELETE_STYLE, DELETE_STYLE_HREF, DOWNLOAD_ORDERED, HOST, HOST_TAB, INSERT_BOOKMARKS, INSERT_CONNECTIONS, INSERT_DOWNLOAD, INSERT_HOST, INSERT_LAF, INSERT_SEARCH, INSERT_STYLE, SEARCH2, STYLE, STYLE_ALL, UPDATE_SEARCH, UPDATE_SEARCH2, UPDATE_STYLE, UPDATE_STYLE_ALL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteConnection.static ConnectionStore
getConnection.Gets the password authentication.Gets a non-null Proxy insteance.void
insertConnection.void
Restore defaults.void
setAuthenticated
(boolean authenticated) Sets the authenticated.void
setDisableProxyForLocalAddresses
(boolean disableProxyForLocalAddresses) Sets the disable proxy for local addresses.void
setInetSocketAddress
(InetSocketAddress socketAddress) Sets the inet socket address.void
setPassword
(String password) Sets the password.void
setProxyType
(Proxy.Type proxyType) Sets the proxy type.void
setUserName
(String userName) Sets the user name.
-
Constructor Details
-
ConnectionStore
public ConnectionStore()Instantiates a new connection settings.
-
-
Method Details
-
getConnection
getConnection.
- Returns:
- a
ConnectionStore
object.
-
deleteConnection
public void deleteConnection()deleteConnection.
-
getPasswordAuthentication
Gets the password authentication.- Returns:
- the password authentication
-
getProxy
Gets a non-null Proxy insteance.- Parameters:
host
- the host- Returns:
- the proxy
-
insertConnection
public void insertConnection()insertConnection.
-
restoreDefaults
public void restoreDefaults()Restore defaults. -
setAuthenticated
public void setAuthenticated(boolean authenticated) Sets the authenticated.- Parameters:
authenticated
- the new authenticated
-
setDisableProxyForLocalAddresses
public void setDisableProxyForLocalAddresses(boolean disableProxyForLocalAddresses) Sets the disable proxy for local addresses.- Parameters:
disableProxyForLocalAddresses
- the new disable proxy for local addresses
-
setInetSocketAddress
Sets the inet socket address.- Parameters:
socketAddress
- the new inet socket address
-
setPassword
Sets the password.- Parameters:
password
- the new password
-
setProxyType
Sets the proxy type.- Parameters:
proxyType
- the new proxy type
-
setUserName
Sets the user name.- Parameters:
userName
- the new user name
-