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 Type
    Method
    Description
    void
    Process dump file data from the given input stream.
  • Method Details

    • processDumpFileContents

      void processDumpFileContents(InputStream inputStream, MwDumpFile dumpFile)
      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 dump
      dumpFile - to access further information about this dump