public interface Connectable
Connection
from it.Modifier and Type | Method and Description |
---|---|
Connection |
openConnection(java.lang.String args)
Create and open a new
Connection . |
Connection openConnection(java.lang.String args) throws java.io.IOException
Connection
.
The given args
String
format depends on the implementation of this interface. Sub-classes or sub-interfaces
must specify the format of this String
and the type of the returned Connection
.args
- the parameters of the connectionConnectionNotFoundException
- if connection protocol is not foundjava.io.IOException
- if an I/O error occursConnector.open(String)