public class Siteinfo extends Object
| Constructor and Description |
|---|
Siteinfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNamespace(String integerKey,
String namespaceText) |
String |
getBase()
Get the "MainPage" URL of the wiki.
|
String |
getCharacterCase()
Get the character case of the wiki.
|
String |
getGenerator()
Get the generator signature of the wiki (i.e.
|
Integer |
getIntegerNamespace(String namespace)
Get the integer value of this site from the given namespace.
|
Namespace |
getNamespace()
Gets the full namespace mappings.
|
String |
getNamespace(Integer key)
Get the namespace of this site from the given integer key.
|
String |
getSitename()
Get the site name of the wiki.
|
void |
setBase(String base) |
void |
setCharacterCase(String characterCase) |
void |
setGenerator(String generator) |
void |
setSitename(String sitename) |
public String getNamespace(Integer key)
key - null if no namespace is defined for the given key.public Namespace getNamespace()
@Nullable public Integer getIntegerNamespace(String namespace)
namespace - null if no integer value is defined for the given
namespace.public String getBase()
public String getCharacterCase()
public String getGenerator()
public String getSitename()
public void setBase(String base)
base - the base to setpublic void setCharacterCase(String characterCase)
characterCase - the characterCase to setpublic void setGenerator(String generator)
generator - the generator to setpublic void setSitename(String sitename)
sitename - the sitename to setCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.