}
@Override
protected void updateCharset(final ResponseData responseData) {
int preloadSize = preloadSizeForCharset;
final ScrapingRule scrapingRule = riverConfig
.getScrapingRule(responseData);
if (scrapingRule != null) {
final Integer s = scrapingRule.getSetting("preloadSizeForCharset",
Integer.valueOf(0));
if (s.intValue() > 0) {
preloadSize = s.intValue();
}
}