Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class NewAccount
extends Object

Author:
Yana Stamcheva

Constructor Summary
NewAccount(String userName, char[] password, String serverAddress, String proxyAddress)
          Creates a new account by specifying the account user name and password.
 
Method Summary
 char[] getPassword()
          Returns the account password.
 String getProxyAddress()
          Returns the proxy address.
 String getServerAddress()
          Returns the server address.
 String getUserName()
          Returns the account user name.
 String getXcapRoot()
          Returns the xcapRoot.
 void setPassword(char[] password)
          Sets the account password.
 void setProxyAddress(String proxyAddress)
          Sets the proxy address.
 void setServerAddress(String serverAddress)
          Sets the server address.
 void setUserName(String userName)
          Sets the account user name.
 void setXcapRoot(String xcapRoot)
          Sets xcapRoot.
 
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 proxyAddress)
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
proxyAddress - the proxy address to set
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

setProxyAddress

public void setProxyAddress(String proxyAddress)
Sets the proxy address.

Parameters:
proxyAddress - the proxy address to set

getProxyAddress

public String getProxyAddress()
Returns the proxy address.

Returns:
the proxy address

getXcapRoot

public String getXcapRoot()
Returns the xcapRoot.

Returns:
the xcapRoot

setXcapRoot

public void setXcapRoot(String xcapRoot)
Sets xcapRoot.

Parameters:
xcapRoot - the xcapRoot to set

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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