public class YoutubeActivityUtil extends Object
Constructor and Description |
---|
YoutubeActivityUtil() |
Modifier and Type | Method and Description |
---|---|
static Actor |
createActorForChannel(com.google.api.services.youtube.model.Channel channel) |
static String |
formatId(String... idparts)
Formats the ID to conform with the Apache Streams activity ID convention
|
static Provider |
getProvider()
Gets the common youtube
Provider object |
static void |
updateActivity(com.google.api.services.youtube.model.Channel channel,
Activity activity,
String channelId)
Given a
Channel object and an
Activity object, fill out the appropriate details |
static void |
updateActivity(com.google.api.services.youtube.model.Video video,
Activity activity,
String channelId)
Given a
YouTube.Videos object and an
Activity object, fill out the appropriate details |
public static void updateActivity(com.google.api.services.youtube.model.Video video, Activity activity, String channelId) throws ActivitySerializerException
YouTube.Videos
object and an
Activity
object, fill out the appropriate detailsvideo
- activity
- ActivitySerializerException
public static void updateActivity(com.google.api.services.youtube.model.Channel channel, Activity activity, String channelId) throws ActivitySerializerException
Channel
object and an
Activity
object, fill out the appropriate detailschannel
- activity
- ActivitySerializerException
public static Actor createActorForChannel(com.google.api.services.youtube.model.Channel channel)
public static Provider getProvider()
Provider
objectCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.