Name
DriverPropertyInfo
Synopsis
Class Name: java.sql.DriverPropertyInfo |
Superclass: java.lang.Object |
Immediate Subclasses: None |
Interfaces Implemented: None |
Availability: JDK 1.1 |
Description
This class provides information required by a driver in order to connect to a database. Only development tools are likely ever to require this class. It has no methods, 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: 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: A brief description of the property or null.
- name
public String name
Description: The name of the property.
- required
public boolean required
Description: Indicates whether or not this property must be set in order to make a connection.
- value
public String value
Description: The current value of the property or null if no current value is set.
Object Constructors
- DriverPropertyInfo( )
public DriverPropertyInfo(String name, String value)
Description: Constructs a new
DriverPropertyInfo
object with thename
andvalue
attributes set to the specified parameters. All other values are set to their default values.
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.