|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.googlecontacts.GoogleContactsConnectionImpl
public class GoogleContactsConnectionImpl
Google Contacts credentials to connect to the service.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.java.sip.communicator.service.googlecontacts.GoogleContactsConnection |
|---|
GoogleContactsConnection.ConnectionStatus |
| Constructor Summary | |
|---|---|
GoogleContactsConnectionImpl(String login,
String password)
Constructor. |
|
| Method Summary | |
|---|---|
GoogleContactsConnection.ConnectionStatus |
connect()
Initialize connection. |
com.google.gdata.client.contacts.ContactsService |
getGoogleService()
Returns the Google service. |
String |
getLogin()
Get login. |
String |
getPassword()
get password. |
String |
getPrefix()
Returns the google contacts phone number prefix. |
boolean |
isEnabled()
Returns if the connection is enabled. |
void |
setEnabled(boolean enabled)
Set the connection to be enabled or not. |
void |
setLogin(String login)
Set login. |
void |
setPassword(String password)
Set password. |
void |
setPrefix(String prefix)
Sets the google contacts prefix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleContactsConnectionImpl(String login,
String password)
login - the login to connect to the servicepassword - the password to connect to the service| Method Detail |
|---|
public com.google.gdata.client.contacts.ContactsService getGoogleService()
public String getLogin()
getLogin in interface GoogleContactsConnectionpublic String getPassword()
getPassword in interface GoogleContactsConnectionpublic void setLogin(String login)
setLogin in interface GoogleContactsConnectionlogin - login to connect to the servicepublic void setPassword(String password)
setPassword in interface GoogleContactsConnectionpassword - password to connect to the servicepublic GoogleContactsConnection.ConnectionStatus connect()
connect in interface GoogleContactsConnectionpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - value to setpublic void setPrefix(String prefix)
prefix - the phone number prefix to setpublic String getPrefix()
getPrefix in interface GoogleContactsConnection
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||