Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.jabberaccregwizz
Class NewAccount

java.lang.Object
  extended by net.java.sip.communicator.plugin.jabberaccregwizz.NewAccount

public class NewAccount
extends Object

Author:
Yana Stamcheva

Constructor Summary
NewAccount(String userName, char[] password, String serverAddress, String port)
          Creates a new account by specifying the account user name and password.
 
Method Summary
 char[] getPassword()
          Returns the account password.
 String getServerAddress()
          Returns the server address.
 String getServerPort()
          Returns the port of the server.
 String getUserName()
          Returns the account user name.
 void setPassword(char[] password)
          Sets the account password.
 void setServerAddress(String serverAddress)
          Sets the server address.
 void setUserName(String userName)
          Sets the account user name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewAccount

public NewAccount(String userName,
                  char[] password,
                  String serverAddress,
                  String port)
Creates a new account by specifying the account user name and password.

Parameters:
userName - the account user name
password - the account password
serverAddress - the server address to set
port - the port to connect to
Method Detail

setUserName

public void setUserName(String userName)
Sets the account user name.

Parameters:
userName - the user name of the account

getUserName

public String getUserName()
Returns the account user name.

Returns:
the account user name

setPassword

public void setPassword(char[] password)
Sets the account password.

Parameters:
password - the account password

getPassword

public char[] getPassword()
Returns the account password.

Returns:
the account password

setServerAddress

public void setServerAddress(String serverAddress)
Sets the server address.

Parameters:
serverAddress - the server address to set

getServerAddress

public String getServerAddress()
Returns the server address.

Returns:
the server address

getServerPort

public String getServerPort()
Returns the port of the server.

Returns:
the port of the server

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.