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 booleanequals(Object o)URLgetUrl()Gets the URL of the web page.inthashCode()StringtoString()-
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.
-
-