Package org.wikidata.wdtk.dumpfiles
Interface MwDumpFileProcessor
- All Known Implementing Classes:
JsonDumpFileProcessor
,MwRevisionDumpFileProcessor
,MwSitesDumpFileProcessor
public interface MwDumpFileProcessor
General interface for classes that process dump files, typically for parsing
them.
- Author:
- Markus Kroetzsch
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processDumpFileContents
(InputStream inputStream, MwDumpFile dumpFile) Process dump file data from the given input stream.
-
Method Details
-
processDumpFileContents
Process dump file data from the given input stream.The input stream is obtained from the given dump file via
MwDumpFile.getDumpFileStream()
. It will be closed by the caller.- Parameters:
inputStream
- to access the contents of the dumpdumpFile
- to access further information about this dump
-