public interface ConnectionFactory
Connection
factories.
A Connection factory is a class that implements this interface with the following fully qualified name format:
[packageName].[protocol].ConnectionFactory
Connector.open(String)
Modifier and Type | Method and Description |
---|---|
Connection |
open(String url,
int mode,
boolean timeouts)
Open a connection with the specified URL.
|
Connection open(String url, int mode, boolean timeouts) throws IOException
url
- the connection URL to openConnection
.ConnectionNotFoundException
- if connection protocol is not foundIOException
- if an I/O error occurs