| Constructor and Description |
|---|
InyokaWikiBot(String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String title) |
Article |
getArticle(String name) |
Article |
getArticle(String name,
int properties) |
Userinfo |
getUserinfo() |
String |
getWikiType() |
boolean |
hasCacheHandler() |
void |
login(String user,
String passwd) |
SimpleArticle |
readData(String name) |
SimpleArticle |
readData(String name,
int properties) |
void |
setCacheHandler(Map<String,SimpleArticle> cache) |
void |
writeContent(SimpleArticle sa) |
getBytes, getClient, getHostUrl, getInstance, getPage, getUrl, newURL, performAction, setClient, setClient, setClientpublic InyokaWikiBot(String url) throws MalformedURLException
url - wikihosturl like "http://wiki.ubuntuusers.de/Startseite?action=export&format=raw&"MalformedURLException - if param url does not represent a well-formed urlpublic Article getArticle(String name)
name - of articleGetRevisionpublic void writeContent(SimpleArticle sa)
writeContent in interface WikiBotpublic SimpleArticle readData(String name, int properties)
public Userinfo getUserinfo()
getUserinfo in interface WikiBotpublic String getWikiType()
getWikiType in interface WikiBotpublic boolean hasCacheHandler()
public SimpleArticle readData(String name)
public void setCacheHandler(Map<String,SimpleArticle> cache)
Copyright © 2013. All Rights Reserved.