code: public int filterObject(CaptureSearchResult r) {
  		String mime = r.getMimeType().toLowerCase();
  		return validMimes.containsKey(mime) == includeIfContains ? 
  				FILTER_INCLUDE : FILTER_EXCLUDE;
  	}
docs: /* (non-Javadoc)
  @see org.archive.wayback.util.ObjectFilter#filterObject(java.lang.Object)