| Constructor and Description |
|---|
TracWikiBot(String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String title) |
Userinfo |
getUserinfo() |
String |
getWikiType() |
void |
login(String user,
String passwd) |
void |
postDelete(String title) |
Article |
readContent(String name) |
Article |
readContent(String label,
int properties) |
SimpleArticle |
readData(String name) |
SimpleArticle |
readData(String name,
int properties) |
void |
writeContent(ContentAccessable sa) |
void |
writeContent(SimpleArticle sa) |
getBytes, getClient, getHostUrl, getInstance, getPage, getUrl, newURL, performAction, setClient, setClient, setClientpublic TracWikiBot(String url) throws MalformedURLException
url - wikihosturl like "http://trac.edgewall.org/wiki/"MalformedURLException - if param url does not represent a well-formed urlpublic Article readContent(String name)
name - of article in a tracwiki like "TracWiki" , the main page is "WikiStart"GetRevisionpublic void writeContent(ContentAccessable sa)
public void postDelete(String title)
public SimpleArticle readData(String name, int properties)
public Userinfo getUserinfo()
getUserinfo in interface WikiBotpublic String getWikiType()
getWikiType in interface WikiBotpublic SimpleArticle readData(String name)
public void writeContent(SimpleArticle sa)
writeContent in interface WikiBotCopyright © 2013. All Rights Reserved.