org.apache.camel.component.rss
Class UpdatedDateFilter

java.lang.Object
  extended by org.apache.camel.component.rss.UpdatedDateFilter
All Implemented Interfaces:
org.apache.camel.component.feed.EntryFilter

public class UpdatedDateFilter
extends Object
implements org.apache.camel.component.feed.EntryFilter

Filters out all entries which occur before the last time of the entry we saw (assuming entries arrive sorted in order).

Version:

Constructor Summary
UpdatedDateFilter(Date lastUpdate)
           
 
Method Summary
 boolean isValidEntry(org.apache.camel.component.feed.FeedEndpoint endpoint, Object feed, Object entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdatedDateFilter

public UpdatedDateFilter(Date lastUpdate)
Method Detail

isValidEntry

public boolean isValidEntry(org.apache.camel.component.feed.FeedEndpoint endpoint,
                            Object feed,
                            Object entry)
Specified by:
isValidEntry in interface org.apache.camel.component.feed.EntryFilter


Apache Camel