|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sd.odbc.ODBCDriver
This is a wrapper for an ODBC driver. It contains a name and a HashMap of associated attributes.
Constructor Summary | |
ODBCDriver(java.lang.String name,
java.util.HashMap attributes)
Constructs an ODBCDriver object with the given name and attributes. |
Method Summary | |
void |
dump()
Helper function that dumps the content of the ODBCDriver object to the standard output. |
boolean |
equals(java.lang.Object obj)
Compares this ODBCDriver object to another one. |
java.util.Collection |
getAttributeKeys()
Returns a collection of attribute keys. |
java.lang.String |
getAttributeValue(java.lang.String key)
Returns a value for a specific attribute |
java.lang.String |
getName()
Returns the name of the ODBCDriver. |
java.lang.String |
toString()
Returns the name of the ODBCDriver. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ODBCDriver(java.lang.String name, java.util.HashMap attributes)
name
- the name of the ODBCDriverattributes
- associated attributes. Please, see the ODBC documentation
for more information about the attributes for a specific driver.Method Detail |
public java.lang.String getName()
public java.lang.String toString()
public java.util.Collection getAttributeKeys()
public java.lang.String getAttributeValue(java.lang.String key)
key
- the keypublic boolean equals(java.lang.Object obj)
obj
- object to compare against.public void dump()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |