MwDumpFileProcessorpublic class JsonDumpFileProcessor extends java.lang.Object implements MwDumpFileProcessor
| Constructor | Description |
|---|---|
JsonDumpFileProcessor(org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor entityDocumentProcessor,
java.lang.String siteIri) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
processDumpFileContents(java.io.InputStream inputStream,
MwDumpFile dumpFile) |
Process dump file data from the given input stream.
|
public JsonDumpFileProcessor(org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor entityDocumentProcessor,
java.lang.String siteIri)
public void processDumpFileContents(java.io.InputStream inputStream,
MwDumpFile dumpFile)
MappingIterator. However, this class cannot
recover from processing errors. If an error occurs in one entity, the
(presumably) less efficient processing method
processDumpFileContentsRecovery(InputStream) is used instead.processDumpFileContents in interface MwDumpFileProcessorinputStream - to access the contents of the dumpdumpFile - to access further information about this dumpMwDumpFileProcessor.processDumpFileContents(InputStream, MwDumpFile)Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage