org.codehaus.mojo.delicious
Class Bookmark

java.lang.Object
  extended by org.codehaus.mojo.delicious.Bookmark

public class Bookmark
extends Object


Constructor Summary
Bookmark()
           
Bookmark(String location, String title, String tags)
           
Bookmark(String title, String location, String tags, String comments)
           
 
Method Summary
 void addTag(String tag)
          Adds the tag if it doesn't already exist.
 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.
 boolean equals(Object obj)
           
 String getComments()
           
 String getLocation()
           
 String getTags()
           
 String getTitle()
           
 void setComments(String comments)
           
 void setLocation(String url)
           
 void setTags(String tags)
           
 void setTitle(String title)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bookmark

public Bookmark()

Bookmark

public Bookmark(String location,
                String title,
                String tags)

Bookmark

public Bookmark(String title,
                String location,
                String tags,
                String comments)
Method Detail

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.