public class MediaWikiClient extends Object
Constructor and Description |
---|
MediaWikiClient() |
MediaWikiClient(String baseURL) |
Modifier and Type | Method and Description |
---|---|
static String |
capitalize(String word) |
boolean |
changeUploadPassword(String password) |
boolean |
createUser(String userName,
String realName,
String email,
String reason) |
static String |
getAttribute(NodeList list,
String attributeName) |
String |
getPageSource(String title) |
static boolean |
isCapitalized(String word) |
boolean |
login(String user,
String password) |
void |
logout() |
XML |
query(String... parameters) |
XML |
request(String[] headers,
String action,
String... parameters) |
boolean |
userExists(String name) |
public MediaWikiClient()
public MediaWikiClient(String baseURL)
public static boolean isCapitalized(String word)
public String getPageSource(String title) throws IOException
IOException
public boolean userExists(String name) throws IOException
IOException
public boolean createUser(String userName, String realName, String email, String reason) throws IOException
IOException
public boolean changeUploadPassword(String password) throws IOException
IOException
public boolean login(String user, String password) throws IOException
IOException
public void logout() throws IOException
IOException
public XML request(String[] headers, String action, String... parameters) throws IOException
IOException
public XML query(String... parameters) throws IOException
IOException
Copyright © 2014–2022 ImageJ. All rights reserved.