public interface Connectable
Connection
from it.Modifier and Type | Method and Description |
---|---|
Connection |
openConnection(String args)
Create and open a new
Connection . |
Connection openConnection(String args) throws 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 foundIOException
- if an I/O error occursConnector.open(String)