org.codehaus.mojo.delicious
Class Bookmark
java.lang.Object
org.codehaus.mojo.delicious.Bookmark
public class Bookmark
- extends Object
Bookmark
public Bookmark()
Bookmark
public Bookmark(String location,
String title,
String tags)
Bookmark
public Bookmark(String title,
String location,
String tags,
String comments)
getTags
public String getTags()
setTags
public void setTags(String tags)
getLocation
public String getLocation()
setLocation
public void setLocation(String url)
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getComments
public String getComments()
setComments
public void setComments(String comments)
addTag
public void addTag(String tag)
- Adds the tag if it doesn't already exist.
- Parameters:
tag
-
containsTag
public boolean containsTag(String tag)
- Returns true if the tag is found anywhere in the list of tags,
may be surrounded by white space or at start/end of tag list.
- Parameters:
tag
-
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2011 Codehaus. All Rights Reserved.