public class TwitterJsonTweetActivityConverter extends Object implements ActivityConverter<Tweet>, Serializable
Modifier and Type | Field and Description |
---|---|
static Class |
requiredClass |
Constructor and Description |
---|
TwitterJsonTweetActivityConverter() |
Modifier and Type | Method and Description |
---|---|
Tweet |
fromActivity(Activity deserialized) |
List<Tweet> |
fromActivityList(List<Activity> list) |
static TwitterJsonTweetActivityConverter |
getInstance() |
Class |
requiredClass() |
String |
serializationFormat() |
List<Activity> |
toActivityList(List<Tweet> serializedList) |
List<Activity> |
toActivityList(Tweet tweet) |
public static Class requiredClass
public Class requiredClass()
requiredClass
in interface ActivityConverter<Tweet>
public static TwitterJsonTweetActivityConverter getInstance()
public String serializationFormat()
serializationFormat
in interface ActivityConverter<Tweet>
public Tweet fromActivity(Activity deserialized) throws ActivityConversionException
fromActivity
in interface ActivityConverter<Tweet>
ActivityConversionException
public List<Tweet> fromActivityList(List<Activity> list)
fromActivityList
in interface ActivityConverter<Tweet>
public List<Activity> toActivityList(Tweet tweet) throws ActivityConversionException
toActivityList
in interface ActivityConverter<Tweet>
ActivityConversionException
public List<Activity> toActivityList(List<Tweet> serializedList)
toActivityList
in interface ActivityConverter<Tweet>
Copyright © 2018 The Apache Software Foundation. All rights reserved.