facebook4j.internal.json
Class VideoJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.VideoJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Video, java.io.Serializable
final class VideoJSONImpl
- extends FacebookResponseImpl
- implements Video, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
private java.lang.String id
from
private Category from
tags
private java.util.List<Tag> tags
name
private java.lang.String name
description
private java.lang.String description
picture
private java.net.URL picture
embedHtml
private java.lang.String embedHtml
format
private java.util.List<Video.Format> format
icon
private java.net.URL icon
source
private java.net.URL source
createdTime
private java.util.Date createdTime
updatedTime
private java.util.Date updatedTime
comments
private PagableList<Comment> comments
link
private java.net.URL link
VideoJSONImpl
VideoJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
VideoJSONImpl
VideoJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface Video
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Video
getTags
public java.util.List<Tag> getTags()
- Specified by:
getTags in interface Video
getName
public java.lang.String getName()
- Specified by:
getName in interface Video
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Video
getPicture
public java.net.URL getPicture()
- Specified by:
getPicture in interface Video
getEmbedHtml
public java.lang.String getEmbedHtml()
- Specified by:
getEmbedHtml in interface Video
getFormat
public java.util.List<Video.Format> getFormat()
- Specified by:
getFormat in interface Video
getIcon
public java.net.URL getIcon()
- Specified by:
getIcon in interface Video
getSource
public java.net.URL getSource()
- Specified by:
getSource in interface Video
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Video
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Video
getComments
public PagableList<Comment> getComments()
- Specified by:
getComments in interface Video
getLink
public java.net.URL getLink()
- Specified by:
getLink in interface Video
createVideoList
static ResponseList<Video> createVideoList(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object