public class JsonDumpFileProcessor extends Object implements MwDumpFileProcessor
Constructor and Description |
---|
JsonDumpFileProcessor(EntityDocumentProcessor entityDocumentProcessor,
String siteIri) |
Modifier and Type | Method and Description |
---|---|
void |
processDumpFileContents(InputStream inputStream,
MwDumpFile dumpFile)
Process dump file data from the given input stream.
|
public JsonDumpFileProcessor(EntityDocumentProcessor entityDocumentProcessor, String siteIri)
public void processDumpFileContents(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 MwDumpFileProcessor
inputStream
- to access the contents of the dumpdumpFile
- to access further information about this dumpMwDumpFileProcessor.processDumpFileContents(InputStream, MwDumpFile)
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage