Class WebPageBookmark
- java.lang.Object
-
- rocks.xmpp.extensions.bookmarks.model.AbstractBookmark
-
- rocks.xmpp.extensions.bookmarks.model.WebPageBookmark
-
- All Implemented Interfaces:
Comparable<Bookmark>
,Bookmark
public final class WebPageBookmark extends AbstractBookmark
A web page bookmark.This class is immutable.
-
-
Constructor Summary
Constructors Constructor Description WebPageBookmark(String name, URL url)
Creates a web page bookmark.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
URL
getUrl()
Gets the URL of the web page.int
hashCode()
String
toString()
-
Methods inherited from class rocks.xmpp.extensions.bookmarks.model.AbstractBookmark
compareTo, getName
-
-
-
-
Method Detail
-
getUrl
public final URL getUrl()
Gets the URL of the web page.- Returns:
- The URL.
-
-