From 33562be4360763f41dc250fdec38221fbc2d5940 Mon Sep 17 00:00:00 2001 From: Harald Wolff Date: Wed, 11 Feb 2015 19:09:21 +0100 Subject: [PATCH] =?UTF-8?q?Neuer=20Constructor=20f=C3=BCr=20DBProfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/org/hwo/DBProfile.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/org/hwo/DBProfile.java b/src/org/hwo/DBProfile.java index 655637b..3bea707 100644 --- a/src/org/hwo/DBProfile.java +++ b/src/org/hwo/DBProfile.java @@ -19,6 +19,15 @@ public class DBProfile this.setProfileno(profileno); 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() { return profileno;