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