Package org.h2.server.web
Class ConnectionInfo
java.lang.Object
org.h2.server.web.ConnectionInfo
- All Implemented Interfaces:
Comparable<ConnectionInfo>
The connection info object is a wrapper for database connection information
such as the database URL, user name and password.
This class is used by the H2 Console.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
driver
The driver class name. -
url
The database URL. -
user
The user name. -
name
String nameThe connection display name. -
lastAccess
int lastAccessThe last time this connection was used.
-
-
Constructor Details
-
ConnectionInfo
ConnectionInfo() -
ConnectionInfo
-
-
Method Details
-
get
-
getString
String getString() -
compareTo
- Specified by:
compareTo
in interfaceComparable<ConnectionInfo>
-