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