Package org.apache.camel.component.rss
Class UpdatedDateFilter
java.lang.Object
org.apache.camel.component.rss.UpdatedDateFilter
- All Implemented Interfaces:
org.apache.camel.component.feed.EntryFilter<com.rometools.rome.feed.synd.SyndEntry>
,org.apache.camel.resume.ResumeAdapter
public class UpdatedDateFilter
extends Object
implements org.apache.camel.component.feed.EntryFilter<com.rometools.rome.feed.synd.SyndEntry>
Filters out all entries which occur before the last time of the entry we saw (assuming entries arrive sorted in
order).
-
Field Summary
Fields inherited from interface org.apache.camel.resume.ResumeAdapter
RESUME_ADAPTER_FACTORY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidEntry
(com.rometools.rome.feed.synd.SyndEntry entry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.component.feed.EntryFilter
resume
-
Constructor Details
-
UpdatedDateFilter
public UpdatedDateFilter() -
UpdatedDateFilter
-
-
Method Details
-
getLastUpdate
-
isValidEntry
public boolean isValidEntry(com.rometools.rome.feed.synd.SyndEntry entry) - Specified by:
isValidEntry
in interfaceorg.apache.camel.component.feed.EntryFilter<com.rometools.rome.feed.synd.SyndEntry>
-