Package ej.ecom.io
Interface ConnectionFactory
-
public interface ConnectionFactoryThis interface defines the API forConnectionfactories. A Connection factory is a class that implements this interface with the following fully qualified name format:[packageName].[protocol].ConnectionFactory
- See Also:
Connector.open(String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connectionopen(String url, int mode, boolean timeouts)Open a connection with the specified URL.
-
-
-
Method Detail
-
open
Connection open(String url, int mode, boolean timeouts) throws IOException
Open a connection with the specified URL.- Parameters:
url- the connection URL to open- Returns:
- the open
Connection. - Throws:
ConnectionNotFoundException- if connection protocol is not foundIOException- if an I/O error occurs
-
-