thrownewRuntimeException("You can only have 50,000 URLs per sitemap; to use more, allowMultipleSitemaps and generate a sitemap index. You asked for "+maxUrls);
}
this.maxUrls=maxUrls;
returngetThis();
}
/**
* Validate the sitemaps automatically after writing them; this takes time (and may fail for Google-specific sitemaps)
*/
publicTHISautoValidate(booleanautoValidate){
this.autoValidate=autoValidate;
returngetThis();
}
/** Gzip the sitemaps after they are written to disk */