Package org.h2.server.web
Class ConnectionInfo
- java.lang.Object
-
- org.h2.server.web.ConnectionInfo
-
- All Implemented Interfaces:
java.lang.Comparable<ConnectionInfo>
public class ConnectionInfo extends java.lang.Object implements java.lang.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 Modifier and Type Field Description java.lang.StringdriverThe driver class name.(package private) intlastAccessThe last time this connection was used.(package private) java.lang.StringnameThe connection display name.java.lang.StringurlThe database URL.java.lang.StringuserThe user name.
-
Constructor Summary
Constructors Constructor Description ConnectionInfo()ConnectionInfo(java.lang.String data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ConnectionInfo o)private static java.lang.Stringget(java.lang.String[] array, int i)(package private) java.lang.StringgetString()
-
-
-
Method Detail
-
get
private static java.lang.String get(java.lang.String[] array, int i)
-
getString
java.lang.String getString()
-
compareTo
public int compareTo(ConnectionInfo o)
- Specified by:
compareToin interfacejava.lang.Comparable<ConnectionInfo>
-
-