本文整理匯總了Java中org.insightech.er.preference.PreferenceInitializer.clearJDBCDriverInfo方法的典型用法代碼示例。如果您正苦於以下問題:Java PreferenceInitializer.clearJDBCDriverInfo方法的具體用法?Java PreferenceInitializer.clearJDBCDriverInfo怎麽用?Java PreferenceInitializer.clearJDBCDriverInfo使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.insightech.er.preference.PreferenceInitializer
的用法示例。
在下文中一共展示了PreferenceInitializer.clearJDBCDriverInfo方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: performOk
import org.insightech.er.preference.PreferenceInitializer; //導入方法依賴的package包/類
@Override
public boolean performOk() {
PreferenceInitializer.clearJDBCDriverInfo();
for (int i = 0; i < table.getItemCount(); i++) {
final TableItem tableItem = table.getItem(i);
final String db = tableItem.getText(0);
final String driverClassName = tableItem.getText(1);
final String path = tableItem.getText(2);
PreferenceInitializer.addJDBCDriver(db, driverClassName, path);
}
return super.performOk();
}
示例2: performOk
import org.insightech.er.preference.PreferenceInitializer; //導入方法依賴的package包/類
@Override
public boolean performOk() {
PreferenceInitializer.clearJDBCDriverInfo();
for (int i = 0; i < this.table.getItemCount(); i++) {
TableItem tableItem = this.table.getItem(i);
String db = tableItem.getText(0);
String driverClassName = tableItem.getText(1);
String path = tableItem.getText(2);
PreferenceInitializer.addJDBCDriver(db, driverClassName, path);
}
return super.performOk();
}
示例3: performDefaults
import org.insightech.er.preference.PreferenceInitializer; //導入方法依賴的package包/類
@Override
protected void performDefaults() {
PreferenceInitializer.clearJDBCDriverInfo();
setData();
super.performDefaults();
}
示例4: performDefaults
import org.insightech.er.preference.PreferenceInitializer; //導入方法依賴的package包/類
@Override
protected void performDefaults() {
PreferenceInitializer.clearJDBCDriverInfo();
setData();
super.performDefaults();
}