yt4droid.parser
クラス FeedsParser

java.lang.Object
  上位を拡張 yt4droid.parser.FeedsParser
すべての実装されたインタフェース:
Feeds

public class FeedsParser
extends java.lang.Object
implements Feeds


コンストラクタの概要
FeedsParser(JSONObject json)
           
 
メソッドの概要
static ResponseList<Feeds> createFeedsList(HttpResponse res, Configuration conf)
           
 AccessControlEntity getAccessControl()
          Returns access control of a video.
 java.lang.String getAspectRatio()
          Returns aspect ratio of a video.
 java.lang.String getCategory()
          Returns category of a video.
 int getCommentCount()
          Returns comment count of a video.
 ContentEntity getContent()
          Returns content of a video.
 java.lang.String getDescription()
          Returns description of a video.
 java.lang.String getDuration()
          Returns duration of a video.
 int getFavoriteCount()
          Returns favorite count of a video.
 java.lang.String getId()
          Returns ID of a video.
 int getLikeCount()
          Returns like count of a video.
 PlayerEntity getPlayer()
          Returns player of a video.
 float getRating()
          Returns rating of a video.
 int getRatingCount()
          Returns rating count of a video.
 java.lang.String[] getTags()
          Returns tags of a video.
 ThumbnailEntity getThumbnail()
          Returns thumbnail url of a video.
 java.lang.String getTitle()
          Returns title of a video.
 java.util.Date getUpdated()
          Returns updated date of a video.
 java.util.Date getUploaded()
          Returns uploaded date of a video.
 java.lang.String getUploader()
          Returns uploader of a video.
 int getViewCount()
          Returns view count of a video.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FeedsParser

public FeedsParser(JSONObject json)
            throws YoutubeException
例外:
YoutubeException
メソッドの詳細

getId

public java.lang.String getId()
インタフェース Feeds の記述:
Returns ID of a video.

定義:
インタフェース Feeds 内の getId
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getUploaded

public java.util.Date getUploaded()
インタフェース Feeds の記述:
Returns uploaded date of a video.

定義:
インタフェース Feeds 内の getUploaded
戻り値:
The value date
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getUpdated

public java.util.Date getUpdated()
インタフェース Feeds の記述:
Returns updated date of a video.

定義:
インタフェース Feeds 内の getUpdated
戻り値:
The value date
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getUploader

public java.lang.String getUploader()
インタフェース Feeds の記述:
Returns uploader of a video.

定義:
インタフェース Feeds 内の getUploader
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getCategory

public java.lang.String getCategory()
インタフェース Feeds の記述:
Returns category of a video.

定義:
インタフェース Feeds 内の getCategory
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getTitle

public java.lang.String getTitle()
インタフェース Feeds の記述:
Returns title of a video.

定義:
インタフェース Feeds 内の getTitle
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getDescription

public java.lang.String getDescription()
インタフェース Feeds の記述:
Returns description of a video.

定義:
インタフェース Feeds 内の getDescription
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getTags

public java.lang.String[] getTags()
インタフェース Feeds の記述:
Returns tags of a video.

定義:
インタフェース Feeds 内の getTags
戻り値:
The value string array
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getThumbnail

public ThumbnailEntity getThumbnail()
インタフェース Feeds の記述:
Returns thumbnail url of a video.

定義:
インタフェース Feeds 内の getThumbnail
戻り値:
ThumbnailEntity
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getPlayer

public PlayerEntity getPlayer()
インタフェース Feeds の記述:
Returns player of a video.

定義:
インタフェース Feeds 内の getPlayer
戻り値:
PlayerEntity
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getContent

public ContentEntity getContent()
インタフェース Feeds の記述:
Returns content of a video.

定義:
インタフェース Feeds 内の getContent
戻り値:
ContentEntity
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getDuration

public java.lang.String getDuration()
インタフェース Feeds の記述:
Returns duration of a video.

定義:
インタフェース Feeds 内の getDuration
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getAspectRatio

public java.lang.String getAspectRatio()
インタフェース Feeds の記述:
Returns aspect ratio of a video.

定義:
インタフェース Feeds 内の getAspectRatio
戻り値:
The value string
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getRating

public float getRating()
インタフェース Feeds の記述:
Returns rating of a video.

定義:
インタフェース Feeds 内の getRating
戻り値:
The value float
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getLikeCount

public int getLikeCount()
インタフェース Feeds の記述:
Returns like count of a video.

定義:
インタフェース Feeds 内の getLikeCount
戻り値:
The value integer
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getRatingCount

public int getRatingCount()
インタフェース Feeds の記述:
Returns rating count of a video.

定義:
インタフェース Feeds 内の getRatingCount
戻り値:
The value integer
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getViewCount

public int getViewCount()
インタフェース Feeds の記述:
Returns view count of a video.

定義:
インタフェース Feeds 内の getViewCount
戻り値:
The value integer
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getFavoriteCount

public int getFavoriteCount()
インタフェース Feeds の記述:
Returns favorite count of a video.

定義:
インタフェース Feeds 内の getFavoriteCount
戻り値:
The value integer
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getCommentCount

public int getCommentCount()
インタフェース Feeds の記述:
Returns comment count of a video.

定義:
インタフェース Feeds 内の getCommentCount
戻り値:
The value integer
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

getAccessControl

public AccessControlEntity getAccessControl()
インタフェース Feeds の記述:
Returns access control of a video.

定義:
インタフェース Feeds 内の getAccessControl
戻り値:
AccessCOntrolEntity
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html

createFeedsList

public static ResponseList<Feeds> createFeedsList(HttpResponse res,
                                                  Configuration conf)
                                           throws YoutubeException
例外:
YoutubeException