Neuer Constructor für DBProfile
parent
74d159a23f
commit
33562be436
|
@ -19,6 +19,15 @@ public class DBProfile
|
||||||
this.setProfileno(profileno);
|
this.setProfileno(profileno);
|
||||||
load(pref);
|
load(pref);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public DBProfile(String hostname,Integer port,String dbname,String username,String password){
|
||||||
|
this.hostname = hostname;
|
||||||
|
this.port = port;
|
||||||
|
this.database = dbname;
|
||||||
|
|
||||||
|
this.username = username;
|
||||||
|
this.password = password;
|
||||||
|
}
|
||||||
|
|
||||||
public int getProfileno() {
|
public int getProfileno() {
|
||||||
return profileno;
|
return profileno;
|
||||||
|
|
Loading…
Reference in New Issue