static final int MAX_NEWS_URLS_NUM = 2000;
SitemapGeneratorBuilder<GoogleNewsSitemapGenerator> sgb= GoogleNewsSitemapGenerator.builder(MyURL, MyDirectory).dateFormat(dateFormat);
sgb.maxUrls(MAX_NEWS_URLS_NUM).build(); // here is the Problem
I can not use the function maxUrls(..) because it produce an Error!
If i write following:
I can not use the function
maxUrls(..)
because it produce an Error!