private Iterator<AbstractBackupPath> createIterator()
{
List<AbstractBackupPath> temp = Lists.newArrayList();
for (S3ObjectSummary summary : objectListing.getObjectSummaries())
{
AbstractBackupPath path = pathProvider.get();
path.parseRemote(summary.getKey());
logger.debug("New key " + summary.getKey() + " path = " + path.getRemotePath() + " " + start + " end: " + till + " my " + path.getTime() );
if ((path.getTime().after(start) && path.getTime().before(till)) || path.getTime().equals(start)){
temp.add(path);
logger.debug("Added key " + summary.getKey() );
}
}
return temp.iterator();