org.apache.camel.component.twitter.util
Class TwitterConverter
java.lang.Object
org.apache.camel.component.twitter.util.TwitterConverter
@Converter
public final class TwitterConverter
- extends Object
Utility for converting between Twitter4J and camel-twitter data layers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toString
@Converter
public static String toString(twitter4j.Status status)
throws ParseException
- Throws:
ParseException
toString
@Converter
public static String toString(twitter4j.DirectMessage dm)
throws ParseException
- Throws:
ParseException
toString
@Converter
public static String toString(twitter4j.Trend trend)
throws ParseException
- Throws:
ParseException
toString
@Converter
public static String toString(twitter4j.Trends trends)
throws ParseException
- Throws:
ParseException
Apache Camel