public class UrlAppender extends Object
Constructor and Description |
---|
UrlAppender(String page)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addBookmark(String mark)
Adds a bookmark to the URL.
|
UrlAppender |
append(String name,
String value)
Appends a "name=value" to the URL.
|
boolean |
equals(Object obj) |
int |
getAppendCount()
Determines how many parameters there have by appended to the URL
|
String |
getUrl()
Gets the URL as string
|
int |
hashCode() |
String |
toString() |
public UrlAppender(String page)
page
- the link to the page with out any parameters.public UrlAppender append(String name, String value)
name
- the name of the parameter.value
- the value of parameter.public int getAppendCount()
public void addBookmark(String mark)
mark
- adds a bookmarkpublic String getUrl()