Name
DriverPropertyInfo
Synopsis
Class Name:
java.sql.DriverPropertyInfo
Superclass: None
Immediate Subclasses: None
Interfaces Implemented: None
Availability: JDK 1.1
Description
This class provides information required by a driver to connect to a database. Only development tools are likely to require this class. It has no methods, but simply a list of public attributes.
Class Summary
public class DriverPropertyInfo {
public String[] choices;
public String description;
public String name;
public boolean required;
public String value;
public DriverPropertyInfo(String name, String value);
}Object Attributes
choices
public String[] choices
- Description
This attribute provides a list of choices from which a user may be prompted to specify a value for this property. This value can be
null.
description
public String description
- Description
This attribute gives a brief description of the property or
null.
name
public String name
- Description
This attribute gives the name of the property.
required
public boolean required
- Description
This attribute indicates whether or not this property must be set in order to make a connection.
value
public String value
- Description
This attribute gives the current value of the property or
null, if no current value is set.
Object Constructors
DriverPropertyInfo( )
public DriverPropertyInfo(String name, String value)
- Description
This constructor creates a new
DriverPropertyInfoobject with thenameandvalueattributes set to the specified parameters. All other values are set to their default ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access