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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteConnection.static ConnectionStoregetConnection.Gets the password authentication.Gets a non-null Proxy insteance.voidinsertConnection.voidRestore defaults.voidsetAuthenticated(boolean authenticated) Sets the authenticated.voidsetDisableProxyForLocalAddresses(boolean disableProxyForLocalAddresses) Sets the disable proxy for local addresses.voidsetInetSocketAddress(InetSocketAddress socketAddress) Sets the inet socket address.voidsetPassword(String password) Sets the password.voidsetProxyType(Proxy.Type proxyType) Sets the proxy type.voidsetUserName(String userName) Sets the user name.
-
Constructor Details
-
ConnectionStore
public ConnectionStore()Instantiates a new connection settings.
-
-
Method Details
-
getConnection
getConnection.
- Returns:
- a
ConnectionStoreobject.
-
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
-