org.apache.camel.component.twitter.util
Class TwitterConverter

java.lang.Object
  extended by org.apache.camel.component.twitter.util.TwitterConverter

@Converter
public final class TwitterConverter
extends Object

Utility for converting between Twitter4J and camel-twitter data layers.


Method Summary
static String toString(twitter4j.DirectMessage dm)
           
static String toString(twitter4j.Status status)
           
static String toString(twitter4j.Trend trend)
           
static String toString(twitter4j.Trends trends)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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