public final class ChatRoomBookmark extends Bookmark
This class is immutable.
| Constructor and Description |
|---|
ChatRoomBookmark(String name,
rocks.xmpp.addr.Jid room)
Creates a conference bookmark.
|
ChatRoomBookmark(String name,
rocks.xmpp.addr.Jid room,
String nick,
String password,
boolean autojoin)
Creates a conference bookmark.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getNick()
Gets the user's preferred roomnick for the chatroom.
|
String |
getPassword()
Gets the unencrypted string for the password needed to enter a password-protected room.
|
rocks.xmpp.addr.Jid |
getRoom()
Gets the JID of the chat room.
|
int |
hashCode() |
boolean |
isAutojoin()
Gets whether the client should automatically join the conference room on login.
|
String |
toString() |
public ChatRoomBookmark(String name, rocks.xmpp.addr.Jid room)
name - The bookmark name.room - The JID of the chat room.public ChatRoomBookmark(String name, rocks.xmpp.addr.Jid room, String nick, String password, boolean autojoin)
name - The bookmark name.room - The JID of the chat room.nick - The user's preferred roomnick for the chatroom.password - The unencrypted string for the password needed to enter a password-protected room. See also getPassword().autojoin - Whether the client should automatically join the conference room on login.public final String getNick()
public final String getPassword()
public final boolean isAutojoin()
public final rocks.xmpp.addr.Jid getRoom()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.