org.apache.camel.component.twitter.consumer.timeline
Class PublicConsumer
java.lang.Object
org.apache.camel.component.twitter.consumer.Twitter4JConsumer
org.apache.camel.component.twitter.consumer.timeline.PublicConsumer
public class PublicConsumer
- extends Twitter4JConsumer
Consumes the public timeline
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicConsumer
public PublicConsumer(TwitterEndpoint te)
pollConsume
public List<twitter4j.Status> pollConsume()
throws twitter4j.TwitterException
- Specified by:
pollConsume in class Twitter4JConsumer
- Throws:
twitter4j.TwitterException
directConsume
public List<twitter4j.Status> directConsume()
throws twitter4j.TwitterException
- Specified by:
directConsume in class Twitter4JConsumer
- Throws:
twitter4j.TwitterException
Apache CAMEL