- calendarToTimestamp(Calendar) - Method in class org.wikipedia.Wiki
-
Turns a calendar into a timestamp of the format yyyymmddhhmmss.
- CandidateEntity - Class in it.cnr.isti.hpc.dexter.rest.domain
-
Represents a candidate entity for a spot.
- CandidateEntity(int, int, double) - Constructor for class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- CandidateSpot - Class in it.cnr.isti.hpc.dexter.rest.domain
-
Represent a candidate spot during the entity linking process.
- CandidateSpot() - Constructor for class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- CATEGORY_NAMESPACE - Static variable in class org.wikipedia.Wiki
-
Denotes the namespace for category description pages.
- CATEGORY_TALK_NAMESPACE - Static variable in class org.wikipedia.Wiki
-
Denotes the namespace for talk pages regarding categories.
- checkErrors(String, String) - Method in class org.wikipedia.Wiki
-
Checks for errors from standard read/write requests.
- checkRights(HashMap<String, Object>, String) - Method in class org.wikipedia.Wiki
-
Checks whether the currently logged on user has sufficient rights to
edit/move a protected page.
- clone() - Method in class org.wikipedia.Wiki.User
-
Copies this user object.
- compareTo(CandidateEntity) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- compareTo(Wiki.LogEntry) - Method in class org.wikipedia.Wiki.LogEntry
-
Compares this log entry to another one based on the recentness of
their timestamps.
- compareTo(Wiki.Revision) - Method in class org.wikipedia.Wiki.Revision
-
Compares this revision to another revision based on the recentness of
their timestamps.
- constructNamespaceString(StringBuilder, String, int...) - Method in class org.wikipedia.Wiki
-
Convenience method for converting a namespace list into String form.
- contribs(String, int...) - Method in class org.wikipedia.Wiki
-
Gets the contributions of a user in a particular namespace.
- contribs(String, String, Calendar, Calendar, int...) - Method in class org.wikipedia.Wiki
-
Gets the contributions for a user, an IP address or a range of IP
addresses.
- contribs(int...) - Method in class org.wikipedia.Wiki.User
-
Fetches the contributions for this user in a particular namespace(s).
- convertTimestamp(String) - Method in class org.wikipedia.Wiki
-
Converts a timestamp of the form used by the API (yyyy-mm-ddThh:mm:ssZ)
to the form yyyymmddhhmmss, which can be fed into
timestampToCalendar().
- countEdits() - Method in class org.wikipedia.Wiki.User
-
Fetches the internal edit count for this user, which includes all
live edits and deleted edits after (I think) January 2007.
- CURRENT_REVISION - Static variable in class org.wikipedia.Wiki
-
In Revision.diff(), denotes the current revision.
- get(int) - Method in class it.cnr.isti.hpc.dexter.article.ArticleServer
-
Retrieves an entity description
- getAction() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets a string description of the action performed, for example
"delete", "protect", "overwrite", ...
- getAnnotatedText() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedDocument
-
- getAssertionMode() - Method in class org.wikipedia.Wiki
-
Gets the assertion mode.
- getCandidates() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getCategories(String) - Method in class org.wikipedia.Wiki
-
Gets the list of categories a particular page is in.
- getCategoryMembers(String, int...) - Method in class org.wikipedia.Wiki
-
Gets the members of a category.
- getCategoryMembers(String, boolean, int...) - Method in class org.wikipedia.Wiki
-
Gets the members of a category.
- getCommonness() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getCommonness() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- getCurrentDatabaseLag() - Method in class org.wikipedia.Wiki
-
Determines the current database replication lag.
- getCurrentUser() - Method in class org.wikipedia.Wiki
-
Gets the user we are currently logged in as.
- getDescription() - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- getDescription(String) - Method in class it.cnr.isti.hpc.dexter.rest.RestService
-
Given the Wiki-id of an entity, returns a snippet containing some
sentences that describe the entity.
- getDetails() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets the details of this log entry.
- getDocumentFrequency() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getDocumentFrequency() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getDomain() - Method in class org.wikipedia.Wiki
-
Gets the domain of the wiki, as supplied on construction.
- getDuplicates(String) - Method in class org.wikipedia.Wiki
-
Gets duplicates of this file.
- getEnd() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getEnd() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getEntity() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getEntity() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- getEntityFrequency() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getFileMetadata(String) - Method in class org.wikipedia.Wiki
-
Gets the file metadata for a file.
- getFirstRevision(String) - Method in class org.wikipedia.Wiki
-
Gets the first revision of a page, or null if the page does not exist.
- getFreq() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- getHtmlCode() - Method in class it.cnr.isti.hpc.dexter.freebase.FreebaseEntity
-
- getId() - Method in class it.cnr.isti.hpc.dexter.freebase.FreebaseEntity
-
- getImage() - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- getImage(String) - Method in class org.wikipedia.Wiki
-
Fetches an image file and returns the image data in a byte[].
- getImage(String, int, int) - Method in class org.wikipedia.Wiki
-
Fetches a thumbnail of an image file and returns the image data in a
byte[].
- getImageHistory(String) - Method in class org.wikipedia.Wiki
-
Returns the upload history of an image.
- getImagesOnPage(String) - Method in class org.wikipedia.Wiki
-
Gets the list of images used on a particular page.
- getInfobox() - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- getInterWikiBacklinks(String) - Method in class org.wikipedia.Wiki
-
Fetches all pages that use interwiki links to the specified wiki and the
page on that wiki that is linked to.
- getInterWikiBacklinks(String, String) - Method in class org.wikipedia.Wiki
-
Fetches all pages that use interwiki links with a certain prefix
and title.
- getInterWikiLinks(String) - Method in class org.wikipedia.Wiki
-
Gets the list of interwiki links a particular page has.
- getIPBlockList(String) - Method in class org.wikipedia.Wiki
-
Looks up a particular user in the IP block list, i.e.
- getIPBlockList(Calendar, Calendar) - Method in class org.wikipedia.Wiki
-
Lists currently operating blocks that were made in the specified
interval.
- getIPBlockList(String, Calendar, Calendar) - Method in class org.wikipedia.Wiki
-
Fetches part of the list of currently operational blocks.
- getLinkFrequency() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getLinkFrequency() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getLinkProbability() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getLinkProbability() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getLinksOnPage(String) - Method in class org.wikipedia.Wiki
-
Gets the list of links used on a particular page.
- getLogEntries(int) - Method in class org.wikipedia.Wiki
-
Gets the most recent set of log entries up to the given amount.
- getLogEntries(Wiki.User) - Method in class org.wikipedia.Wiki
-
Gets log entries for a specific user.
- getLogEntries(String) - Method in class org.wikipedia.Wiki
-
Gets the log entries representing actions that were performed on a
specific target.
- getLogEntries(Calendar, Calendar) - Method in class org.wikipedia.Wiki
-
Gets all log entries that occurred between the specified dates.
- getLogEntries(int, String, String) - Method in class org.wikipedia.Wiki
-
Gets the last how ever many log entries in the specified log.
- getLogEntries(Calendar, Calendar, int, String, String, Wiki.User, String, int) - Method in class org.wikipedia.Wiki
-
Gets the specified amount of log entries between the given times by the
given user on the given target.
- getMaxLag() - Method in class org.wikipedia.Wiki
-
Gets the maxlag parameter.
- getMention() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getMention() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getNamespaces() - Method in class org.wikipedia.Wiki
-
Gets the namespaces used by this wiki.
- getNext() - Method in class org.wikipedia.Wiki.Revision
-
Gets the next revision.
- getnSpots() - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- getOldImage(Wiki.LogEntry) - Method in class org.wikipedia.Wiki
-
Gets an old image revision and returns the image data in a
byte[].
- getPage() - Method in class org.wikipedia.Wiki.Revision
-
Returns the page to which this revision was made.
- getPageHistory(String) - Method in class org.wikipedia.Wiki
-
Gets the entire revision history of a page.
- getPageHistory(String, Calendar, Calendar) - Method in class org.wikipedia.Wiki
-
Gets the revision history of a page between two dates.
- getPageInfo(String) - Method in class org.wikipedia.Wiki
-
Gets miscellaneous page info.
- getPageInfo(String[]) - Method in class org.wikipedia.Wiki
-
Gets miscellaneous page info.
- getPageText(String) - Method in class org.wikipedia.Wiki
-
Gets the raw wikicode for a page.
- getPrevious() - Method in class org.wikipedia.Wiki.Revision
-
Gets the previous revision.
- getQuerytime() - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- getRawWatchlist() - Method in class org.wikipedia.Wiki
-
Fetches the list of titles on the currently logged in user's watchlist.
- getRawWatchlist(boolean) - Method in class org.wikipedia.Wiki
-
Fetches the list of titles on the currently logged in user's watchlist.
- getRcid() - Method in class org.wikipedia.Wiki.Revision
-
Gets the rcid of this revision for patrolling purposes.
- getReason() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets the reason supplied by the perfoming user when the action was
performed.
- getRenderedText(String) - Method in class org.wikipedia.Wiki
-
Gets the contents of a page, rendered in HTML (as opposed to wikitext).
- getRenderedText() - Method in class org.wikipedia.Wiki.Revision
-
Gets the rendered text of this revision.
- getRevid() - Method in class org.wikipedia.Wiki.Revision
-
Returns the oldid of this revision.
- getRevision(long) - Method in class org.wikipedia.Wiki
-
Gets a revision based on a given oldid.
- getRollbackToken() - Method in class org.wikipedia.Wiki.Revision
-
Gets the rollback token for this revision.
- getScore() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getScriptPath() - Method in class org.wikipedia.Wiki
-
Detects the $wgScriptpath wiki variable and sets the bot framework up to
use it.
- getSectionMap(String) - Method in class org.wikipedia.Wiki
-
Gets the list of sections on a particular page.
- getSectionText(String, int) - Method in class org.wikipedia.Wiki
-
Gets the text of a specific section.
- getSiteStatistics() - Method in class org.wikipedia.Wiki
-
Fetches some site statistics, namely the number of articles, pages,
files, edits, users and admins.
- getSize() - Method in class org.wikipedia.Wiki.Revision
-
Gets the size of this revision in bytes.
- getSizeDiff() - Method in class org.wikipedia.Wiki.Revision
-
Returns the change in page size caused by this revision.
- getSpots() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedDocument
-
- getSpots() - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- getStart() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- getStart() - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- getStatusCheckInterval() - Method in class org.wikipedia.Wiki
-
Gets the number of actions (edit, move, block, delete, etc) between
status checks.
- getSummary() - Method in class org.wikipedia.Wiki.Revision
-
Returns the edit summary for this revision.
- getTalkPage(String) - Method in class org.wikipedia.Wiki
-
Returns the corresponding talk page to this page.
- getTarget() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets the target of the action represented by this log entry.
- getTemplates(String, int...) - Method in class org.wikipedia.Wiki
-
Gets the list of templates used on a particular page that are in a
particular namespace(s).
- getText() - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedDocument
-
- getText() - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- getText() - Method in class org.wikipedia.Wiki.Revision
-
Fetches the contents of this revision.
- getThrottle() - Method in class org.wikipedia.Wiki
-
Gets the editing throttle.
- getTimestamp() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets the timestamp of this log entry.
- getTimestamp() - Method in class org.wikipedia.Wiki.Revision
-
Gets the time that this revision was made.
- getTitle() - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- getTopRevision(String) - Method in class org.wikipedia.Wiki
-
Gets the most recent revision of a page, or null if the page does not
exist.
- getType() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets the type of log that this entry is in.
- getUploads(Wiki.User) - Method in class org.wikipedia.Wiki
-
Gets the uploads of a user.
- getUploads(Wiki.User, Calendar, Calendar) - Method in class org.wikipedia.Wiki
-
Gets the uploads of a user between the specified times.
- getUser(String) - Method in class org.wikipedia.Wiki
-
Gets the user with the given username.
- getUser() - Method in class org.wikipedia.Wiki.LogEntry
-
Gets the user object representing who performed the action.
- getUser() - Method in class org.wikipedia.Wiki.Revision
-
Returns the user or anon who created this revision.
- getUserAgent() - Method in class org.wikipedia.Wiki
-
Gets the user agent HTTP header to be used for requests.
- getUserInfo() - Method in class org.wikipedia.Wiki.User
-
Gets various properties of this user.
- getUsername() - Method in class org.wikipedia.Wiki.User
-
Gets this user's username.
- scriptPath - Variable in class org.wikipedia.Wiki
-
- search(String, int...) - Method in class org.wikipedia.Wiki
-
Performs a full text search of the wiki.
- SEMI_PROTECTION - Static variable in class org.wikipedia.Wiki
-
Denotes semi-protection (i.e.
- setAnnotatedText(String) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedDocument
-
- setAssertionMode(int) - Method in class org.wikipedia.Wiki
-
Sets the assertion mode.
- setCandidates(List<CandidateEntity>) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setCommonness(double) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setCommonness(double) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- setCookies(URLConnection) - Method in class org.wikipedia.Wiki
-
Sets cookies to an unconnected URLConnection and enables gzip compression
of returned text.
- setDescription(String) - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- setDocumentFrequency(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setDocumentFrequency(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setEnd(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setEnd(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setEntity(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setEntity(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- setEntityFrequency(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setFreq(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateEntity
-
- setImage(String) - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- setInfobox(Map<String, String>) - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- setLinkFrequency(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setLinkFrequency(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setLinkProbability(double) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setLinkProbability(double) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setLogLevel(Level) - Method in class org.wikipedia.Wiki
-
Deprecated.
logger is now protected, can call setLevel there
- setMarkBot(boolean) - Method in class org.wikipedia.Wiki
-
Sets whether edits are marked as bot by default (may be overridden
specifically by edit()).
- setMarkMinor(boolean) - Method in class org.wikipedia.Wiki
-
Sets whether edits are marked as minor by default (may be overridden
specifically by edit()).
- setMaxLag(int) - Method in class org.wikipedia.Wiki
-
Sets the maxlag parameter.
- setMention(String) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setMention(String) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setnSpots(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- setQuerytime(float) - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- setRcid(long) - Method in class org.wikipedia.Wiki.Revision
-
Sets the rcid of this revision, used for patrolling.
- setResolveRedirects(boolean) - Method in class org.wikipedia.Wiki
-
Sets whether API action=query dependencies automatically resolve
redirects (default = false).
- setRollbackToken(String) - Method in class org.wikipedia.Wiki.Revision
-
Sets a rollback token for this revision.
- setScore(double) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setSpots(List<AnnotatedSpot>) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedDocument
-
- setSpots(List<CandidateSpot>) - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- setStart(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedSpot
-
- setStart(int) - Method in class it.cnr.isti.hpc.dexter.rest.domain.CandidateSpot
-
- setStatusCheckInterval(int) - Method in class org.wikipedia.Wiki
-
Sets the number of actions (edit, move, block, delete, etc) between
status checks.
- setText(String) - Method in class it.cnr.isti.hpc.dexter.rest.domain.AnnotatedDocument
-
- setText(String) - Method in class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- setThrottle(int) - Method in class org.wikipedia.Wiki
-
Sets the editing throttle.
- setTitle(String) - Method in class it.cnr.isti.hpc.dexter.article.ArticleDescription
-
- setUserAgent(String) - Method in class org.wikipedia.Wiki
-
Sets the user agent HTTP header to be used for requests.
- setUsingCompressedRequests(boolean) - Method in class org.wikipedia.Wiki
-
Enables/disables GZip compression for GET requests.
- shortPages(int) - Method in class org.wikipedia.Wiki
-
List pages below a certain size in the main namespace.
- shortPages(int, int) - Method in class org.wikipedia.Wiki
-
List pages below a certain size in any namespace.
- SPECIAL_NAMESPACE - Static variable in class org.wikipedia.Wiki
-
Denotes the namespace of pages with the "Special:" prefix.
- spot(String) - Method in class it.cnr.isti.hpc.dexter.rest.RestService
-
It only performs the first step of the entity linking process, i.e., find
all the mentions that could refer to an entity.
- SpottedDocument - Class in it.cnr.isti.hpc.dexter.rest.domain
-
Represents a document with all the spot detected during
the spotting.
- SpottedDocument(String, List<CandidateSpot>, int, float) - Constructor for class it.cnr.isti.hpc.dexter.rest.domain.SpottedDocument
-
- statusCheck() - Method in class org.wikipedia.Wiki
-
Performs a status check, including assertions.