From 28e5462b08ad8d086b445c08113ab5b2d0151466 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 10 Jun 2011 19:06:51 +0200 Subject: Use LoginData type for login data git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@403 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/util/LoginData.java | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/jrummikub/util/LoginData.java (limited to 'src/jrummikub/util') diff --git a/src/jrummikub/util/LoginData.java b/src/jrummikub/util/LoginData.java new file mode 100644 index 0000000..fb295c1 --- /dev/null +++ b/src/jrummikub/util/LoginData.java @@ -0,0 +1,32 @@ +package jrummikub.util; + +public class LoginData { + private String userName; + private String serverName; + private String password; + private String channelName; + + public LoginData(String userName, String serverName, String password, + String channelName) { + this.userName = userName; + this.serverName = serverName; + this.password = password; + this.channelName = channelName; + } + + public String getUserName() { + return userName; + } + + public String getServerName() { + return serverName; + } + + public String getPassword() { + return password; + } + + public String getChannelName() { + return channelName; + } +} \ No newline at end of file -- cgit v1.2.3