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