yt4droid
クラス QueryBuilder

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

public class QueryBuilder
extends java.lang.Object
implements Query


コンストラクタの概要
QueryBuilder()
           
 
メソッドの概要
 HttpParameter[] asGetParameterArray()
           
 QueryBuilder build()
          build the query parameter.
 QueryBuilder setCaption()
          The caption parameter enables you to restrict a search to videos that have or do not have caption tracks
 QueryBuilder setCategory(CategoryParam category)
          The category parameter enables you to retrieve videos that are in a particular category or are tagged with a particular keyword or developer tag
 QueryBuilder setFormat(java.lang.String format)
          The format parameter, which is supported for video search requests, specifies that videos must be available in at least one of the video formats listed in the parameter value.
 QueryBuilder setLocation(LocationEntity locationEntity)
          The location parameter restricts the search to videos that have a geographical location specified in their metadata.
 QueryBuilder setLr(java.lang.String iso639_1Code)
          In a video search request, the lr parameter restricts the search to videos that have a title, description or keywords in a specific language.
 QueryBuilder setOrderBy(OrderByParam param)
          The orderby parameter, which is supported for video feeds and playlist feeds, specifies the method that will be used to order entries in the API response.
 QueryBuilder setQ(java.lang.String q)
          The q parameter specifies a search query term.
 QueryBuilder setRestriction(java.lang.String restriction)
          The restriction parameter identifies the IP address that should be used to filter videos that can only be played in specific countries.
 QueryBuilder setSafeSearch(SafeSearchParam param)
          The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.
 QueryBuilder setTime(TimeParam param)
          The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well.
 QueryBuilder setUploader(java.lang.String uploader)
          The uploader parameter, which is only supported for search requests, lets you restrict a query to YouTube partner videos.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

QueryBuilder

public QueryBuilder()
メソッドの詳細

setCaption

public QueryBuilder setCaption()
The caption parameter enables you to restrict a search to videos that have or do not have caption tracks

定義:
インタフェース Query 内の setCaption
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setCategory

public QueryBuilder setCategory(CategoryParam category)
The category parameter enables you to retrieve videos that are in a particular category or are tagged with a particular keyword or developer tag

定義:
インタフェース Query 内の setCategory
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setFormat

public QueryBuilder setFormat(java.lang.String format)
The format parameter, which is supported for video search requests, specifies that videos must be available in at least one of the video formats listed in the parameter value.

定義:
インタフェース Query 内の setFormat
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setLocation

public QueryBuilder setLocation(LocationEntity locationEntity)
The location parameter restricts the search to videos that have a geographical location specified in their metadata.

定義:
インタフェース Query 内の setLocation
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setLr

public QueryBuilder setLr(java.lang.String iso639_1Code)
In a video search request, the lr parameter restricts the search to videos that have a title, description or keywords in a specific language.

定義:
インタフェース Query 内の setLr
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html, http://www.loc.gov/standards/iso639-2/php/code_list.php

setOrderBy

public QueryBuilder setOrderBy(OrderByParam param)
The orderby parameter, which is supported for video feeds and playlist feeds, specifies the method that will be used to order entries in the API response.

定義:
インタフェース Query 内の setOrderBy
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setQ

public QueryBuilder setQ(java.lang.String q)
The q parameter specifies a search query term. YouTube will search all video metadata for videos matching the term

定義:
インタフェース Query 内の setQ
戻り値:
QueryBuilder

setRestriction

public QueryBuilder setRestriction(java.lang.String restriction)
The restriction parameter identifies the IP address that should be used to filter videos that can only be played in specific countries.

定義:
インタフェース Query 内の setRestriction
戻り値:
QueryBuilder

setSafeSearch

public QueryBuilder setSafeSearch(SafeSearchParam param)
The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.

定義:
インタフェース Query 内の setSafeSearch
戻り値:
QueryBuilder

setTime

public QueryBuilder setTime(TimeParam param)
The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well. Valid values for this parameter are today (1 day), this_week (7 days), this_month (1 month) and all_time. The default value for this parameter is all_time.

定義:
インタフェース Query 内の setTime
戻り値:
QueryBuilder

setUploader

public QueryBuilder setUploader(java.lang.String uploader)
The uploader parameter, which is only supported for search requests, lets you restrict a query to YouTube partner videos.

定義:
インタフェース Query 内の setUploader
戻り値:
QueryBuilder

build

public QueryBuilder build()
build the query parameter.

定義:
インタフェース Query 内の build
戻り値:
QueryBuilder

asGetParameterArray

public HttpParameter[] asGetParameterArray()