Package | Description |
---|---|
org.wikidata.wdtk.dumpfiles |
Components for downloading and processing Wikibase dump files.
|
org.wikidata.wdtk.dumpfiles.wmf |
Code that is specific to the dump file exports of the Wikimedia Foundation (WMF).
|
Modifier and Type | Method and Description |
---|---|
DumpContentType |
MwDumpFile.getDumpContentType()
Returns information about the content of the dump.
|
static DumpContentType |
DumpContentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DumpContentType[] |
DumpContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DumpProcessingController.processMostRecentDump(DumpContentType dumpContentType,
MwDumpFileProcessor dumpFileProcessor)
Processes the most recent dump of the given type using the given dump
processor.
|
Modifier and Type | Method and Description |
---|---|
DumpContentType |
WmfOnlineStandardDumpFile.getDumpContentType() |
DumpContentType |
WmfLocalDumpFile.getDumpContentType() |
DumpContentType |
JsonOnlineDumpFile.getDumpContentType() |
DumpContentType |
JsonLocalDumpFile.getDumpContentType() |
Modifier and Type | Method and Description |
---|---|
List<MwDumpFile> |
WmfDumpFileManager.findAllDumps(DumpContentType dumpContentType)
Returns a list of all dump files of the given type available either
online or locally.
|
MwDumpFile |
WmfDumpFileManager.findMostRecentDump(DumpContentType dumpContentType)
Finds the most recent dump of the given type that is actually available.
|
static String |
WmfDumpFile.getDateStampFromDumpFileDirectoryName(DumpContentType dumpContentType,
String directoryName)
Extracts the date stamp from a dumpfile directory name in the form that
is created by
WmfDumpFile.getDumpFileDirectoryName(DumpContentType, String) . |
static CompressionType |
WmfDumpFile.getDumpFileCompressionType(DumpContentType dumpContentType)
Returns the compression type of this kind of dump file.
|
static String |
WmfDumpFile.getDumpFileDirectoryName(DumpContentType dumpContentType,
String dateStamp)
Returns the name of the directory where the dumpfile of the given type
and date should be stored.
|
static String |
WmfDumpFile.getDumpFileName(DumpContentType dumpContentType,
String projectName,
String dateStamp)
Returns the name under which this dump file.
|
static String |
WmfDumpFile.getDumpFilePostfix(DumpContentType dumpContentType)
Returns the ending used by the Wikimedia-provided dumpfile names of the
given type.
|
static String |
WmfDumpFile.getDumpFileWebDirectory(DumpContentType dumpContentType,
String projectName)
Returns the absolute directory on the Web site where dumpfiles of the
given type can be found.
|
static boolean |
WmfDumpFile.isRevisionDumpFile(DumpContentType dumpContentType)
Returns true if the given dump file type contains page revisions and
false if it does not.
|
Constructor and Description |
---|
WmfLocalDumpFile(String dateStamp,
String projectName,
DirectoryManager dumpfileDirectoryManager,
DumpContentType dumpContentType)
Constructor.
|
WmfOnlineStandardDumpFile(String dateStamp,
String projectName,
WebResourceFetcher webResourceFetcher,
DirectoryManager dumpfileDirectoryManager,
DumpContentType dumpContentType)
Constructor.
|
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage