📄 filedb.java
字号:
package com.icbcsdc.ddlexp.pub.util;
/**
*
*构造文件Database,
*用于从config文件中读取的参数构造数据库。
*
*/
public class FileDb {
private String dbName = "";
private String userName = "";
/**
* @return Returns the dbName.
*/
public String getDbName() {
return dbName;
}
/**
* @param dbName The dbName to set.
*/
public void setDbName(String dbName) {
this.dbName = dbName;
}
/**
* @return Returns the iP.
*/
public String getIP() {
return IP;
}
/**
* @param ip The iP to set.
*/
public void setIP(String ip) {
IP = ip;
}
/**
* @return Returns the password.
*/
public String getPassword() {
return password;
}
/**
* @param password The password to set.
*/
public void setPassword(String password) {
this.password = password;
}
/**
* @return Returns the port.
*/
public String getPort() {
return port;
}
/**
* @param port The port to set.
*/
public void setPort(String port) {
this.port = port;
}
/**
* @return Returns the userName.
*/
public String getUserName() {
return userName;
}
/**
* @param userName The userName to set.
*/
public void setUserName(String userName) {
this.userName = userName;
}
private String IP = "";
private String port = "";
private String password = "";
/**
*/
public FileDb(String dbName,String IP,String port,String userName,String password){
super();
this.dbName = dbName;
this.userName = userName;
this.password = password;
this.port = port;
this.IP = IP;
}
/**
*
*/
public FileDb() {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -