public class GMailMessageActivitySerializer extends Object implements ActivitySerializer<com.googlecode.gmail4j.GmailMessage>
Constructor and Description |
---|
GMailMessageActivitySerializer() |
GMailMessageActivitySerializer(GMailProvider provider) |
Modifier and Type | Method and Description |
---|---|
static void |
addGMailExtension(Activity activity,
com.googlecode.gmail4j.GmailMessage gmailMessage) |
static Generator |
buildGenerator(com.fasterxml.jackson.databind.node.ObjectNode event) |
static Provider |
buildProvider(com.fasterxml.jackson.databind.node.ObjectNode event) |
Activity |
convert(com.fasterxml.jackson.databind.node.ObjectNode event) |
Activity |
deserialize(com.googlecode.gmail4j.GmailMessage gmailMessage) |
List<Activity> |
deserializeAll(List<com.googlecode.gmail4j.GmailMessage> serializedList) |
static String |
formatId(String... idparts) |
static Icon |
getIcon(com.fasterxml.jackson.databind.node.ObjectNode event) |
static List<Object> |
getLinks(com.fasterxml.jackson.databind.node.ObjectNode event) |
static String |
getUrls(com.fasterxml.jackson.databind.node.ObjectNode event) |
String |
serializationFormat() |
com.googlecode.gmail4j.GmailMessage |
serialize(Activity activity) |
public GMailMessageActivitySerializer(GMailProvider provider)
public GMailMessageActivitySerializer()
public static Generator buildGenerator(com.fasterxml.jackson.databind.node.ObjectNode event)
public static Icon getIcon(com.fasterxml.jackson.databind.node.ObjectNode event)
public static Provider buildProvider(com.fasterxml.jackson.databind.node.ObjectNode event)
public static String getUrls(com.fasterxml.jackson.databind.node.ObjectNode event)
public static void addGMailExtension(Activity activity, com.googlecode.gmail4j.GmailMessage gmailMessage)
public String serializationFormat()
serializationFormat
in interface ActivitySerializer<com.googlecode.gmail4j.GmailMessage>
public com.googlecode.gmail4j.GmailMessage serialize(Activity activity)
serialize
in interface ActivitySerializer<com.googlecode.gmail4j.GmailMessage>
public Activity deserialize(com.googlecode.gmail4j.GmailMessage gmailMessage)
deserialize
in interface ActivitySerializer<com.googlecode.gmail4j.GmailMessage>
public List<Activity> deserializeAll(List<com.googlecode.gmail4j.GmailMessage> serializedList)
deserializeAll
in interface ActivitySerializer<com.googlecode.gmail4j.GmailMessage>
public Activity convert(com.fasterxml.jackson.databind.node.ObjectNode event)
Copyright © 2018 The Apache Software Foundation. All rights reserved.