public class DriverPropertyInfo extends Object
用于连接的驱动属性。的DriverPropertyInfo类的兴趣只高级程序员需要通过方法getDriverProperties发现并连接电源性能的驱动作用。
| Modifier and Type | Field and Description |
|---|---|
String[] |
choices
一系列的可能值,如果现场
DriverPropertyInfo.value价值可以选自一组特定的值;否则无效。
|
String |
description
的属性,这可能是空的一个简短的描述。
|
String |
name
属性的名称。
|
boolean |
required
的
required场
true如果值必须提供此属性,否则在
Driver.connect
false。
|
String |
value
的
value字段指定属性的当前值,结合提供的方法
getPropertyInfo信息,java环境,和司机提供的默认值。
|
| Constructor and Description |
|---|
DriverPropertyInfo(String name, String value)
构建一个与给定的名称和值
DriverPropertyInfo对象。
|
public String name
public String description
public boolean required
required场
true如果值必须提供此属性,否则在
Driver.connect
false。
public String value
value字段指定属性的当前值,结合提供的方法
getPropertyInfo信息,java环境,和司机提供的默认值。如果没有已知值,则此字段可以为空。
public String[] choices
DriverPropertyInfo.value价值可以选自一组特定的值;否则无效。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.