try
{
ConfigBean config = new ConfigBean();
String nextIndex;
try
{
nextIndex = config.getNextIndexPath();
}
catch(Exception ex)
{
return;
}
IndexLinks lts = new IndexLinks(nextIndex, config.getMaxLinks(), config.getSkippedLinksFile());
lts.initFollowPrefixesFromSystemProperties();
lts.initAvoidPrefixesFromSystemProperties();
lts.setInitialLink(indexUrl);
config.flipIndexPath();
}
catch(Exception e)
{
//System.out.print(e.getStackTrace());
}