Uses of Enum
org.wikidata.wdtk.dumpfiles.DumpContentType
Package
Description
Components for downloading and processing Wikibase dump files.
Code that is specific to the dump file exports of the Wikimedia Foundation (WMF).
-
Uses of DumpContentType in org.wikidata.wdtk.dumpfiles
Modifier and TypeMethodDescriptionMwDumpFile.getDumpContentType()
Returns information about the content of the dump.MwLocalDumpFile.getDumpContentType()
static DumpContentType
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 TypeMethodDescriptionDumpProcessingController.getMostRecentDump
(DumpContentType dumpContentType) Returns a handler for the most recent dump file of the given type that is available (under the current settings), or null if no dump file of this type could be retrieved.ModifierConstructorDescriptionMwLocalDumpFile
(String filePath, DumpContentType dumpContentType, String dateStamp, String projectName) Constructor. -
Uses of DumpContentType in org.wikidata.wdtk.dumpfiles.wmf
Modifier and TypeMethodDescriptionJsonOnlineDumpFile.getDumpContentType()
WmfLocalDumpFile.getDumpContentType()
WmfOnlineStandardDumpFile.getDumpContentType()
Modifier and TypeMethodDescriptionWmfDumpFileManager.findAllDumps
(DumpContentType dumpContentType) Returns a list of all dump files of the given type available either online or locally.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 byWmfDumpFile.getDumpFileDirectoryName(DumpContentType, String)
.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.ModifierConstructorDescriptionWmfLocalDumpFile
(String dateStamp, String projectName, DirectoryManager dumpfileDirectoryManager, DumpContentType dumpContentType) Constructor.WmfOnlineStandardDumpFile
(String dateStamp, String projectName, WebResourceFetcher webResourceFetcher, DirectoryManager dumpfileDirectoryManager, DumpContentType dumpContentType) Constructor.