code: public void processDump(MwDumpFile dumpFile) {
  		if (dumpFile == null) {
  			return;
  		}
  
  		MwDumpFileProcessor dumpFileProcessor;
  		switch (dumpFile.getDumpContentType()) {
  		case CURRENT:
  		case DAILY:
  		case FULL:
  			dumpFileProcessor = getRevisionDumpFileProcessor();
  			break;
  		case JSON:
  			dumpFileProcessor = getJsonDumpFileProcessor();
  			break;
  		case SITES:
  		default:
  			logger.error("Dumps of type " + dumpFile.getDumpContentType()
  					+ " cannot be processed as entity-document dumps.");
  			return;
  		}
  
  		processDumpFile(dumpFile, dumpFileProcessor);
  	}
docs: Processes the contents of the given dump file. All registered processor
  objects will be notified of all data. Note that JSON dumps do not
  contains any revision information, so that registered
  {@link MwRevisionProcessor} objects will not be notified in this case.
  Dumps of type {@link DumpContentType#SITES} cannot be processed with this
  method; use {@link #getSitesInformation()} to process these dumps.
  
  @param dumpFile
  the dump to process