|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnesstar.api.Bookmark
public class Bookmark
A description in both human and machine understandable form of an operation.
It's expressed as a combination of an URL and a short (normally one line)
description.
An operation expressed as a Bookmark can be executed by using an Executor.
| Constructor Summary | |
|---|---|
Bookmark(URL url)
If no description is provided it will be made equal to the URL string representation |
|
Bookmark(URL url,
String description)
|
|
| Method Summary | |
|---|---|
MIMEObject |
execute()
The quickest way of executing a Bookmark |
MIMEObject |
execute(BasicExecutorLog log)
The quickest way of executing a Bookmark |
String |
getDescription()
Gets the description attribute of the Bookmark object |
URL |
getURL()
Gets the uRL attribute of the Bookmark object |
void |
setDescription(char[] description)
Sets the description attribute of the Bookmark object |
void |
setDescription(String description)
Modify the description |
void |
setURL(URL url)
|
String |
toHTMLLink()
Method |
String |
toHTMLLink(String description)
Execute the operation represented by this Bookmark. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Bookmark(URL url,
String description)
url - the URLdescription - A one line descriptionpublic Bookmark(URL url)
url - the URL| Method Detail |
|---|
public void setDescription(String description)
description - the new descriptionpublic void setDescription(char[] description)
description - The new description valuepublic URL getURL()
public void setURL(URL url)
public String getDescription()
public String toString()
toString in class Objectpublic String toHTMLLink(String description)
description -
public String toHTMLLink()
public MIMEObject execute()
throws Exception
Exception
public MIMEObject execute(BasicExecutorLog log)
throws Exception
log -
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||