- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.overwriteCustomParameter()
方法的一些代码示例,展示了YouTubeQuery.overwriteCustomParameter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YouTubeQuery.overwriteCustomParameter()
方法的具体详情如下:
包路径:com.google.gdata.client.youtube.YouTubeQuery
类名称:YouTubeQuery
方法名:overwriteCustomParameter
暂无
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code lr} parameter.
*
* This parameters restricts the videos that are returned
* to videos with its title, description and tags mostly
* in the specified language.
* It might be different from the language of the video itself.
*
* @param languageCode <a
* href="http://www.loc.gov/standards/iso639-2/php/code_list.php">
* ISO 639-1 2-letter language code</a>. {@code zh-Hans} for simplified
* chinese, {@code zh-Hant} for traditional chinese.
*/
public void setLanguageRestrict(String languageCode) {
overwriteCustomParameter(LANGUAGE_RESTRICT, languageCode);
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code lr} parameter.
*
* This parameters restricts the videos that are returned
* to videos with its title, description and tags mostly
* in the specified language.
* It might be different from the language of the video itself.
*
* @param languageCode <a
* href="http://www.loc.gov/standards/iso639-2/php/code_list.php">
* ISO 639-1 2-letter language code</a>. {@code zh-Hans} for simplified
* chinese, {@code zh-Hant} for traditional chinese.
*/
public void setLanguageRestrict(String languageCode) {
overwriteCustomParameter(LANGUAGE_RESTRICT, languageCode);
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code vq} parameter.
*
* The {@code vq} parameter is exactly equivalent to the
* {@code q} parameter.
*
* @param query query string, {@code null} to remove the parameter
* @deprecated Please use {@link Query#setFullTextQuery()} instead.
*/
@Deprecated
public void setVideoQuery(String query) {
overwriteCustomParameter(VQ, query);
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code vq} parameter.
*
* The {@code vq} parameter is exactly equivalent to the
* {@code q} parameter.
*
* @param query query string, {@code null} to remove the parameter
* @deprecated Please use {@link Query#setFullTextQuery()} instead.
*/
@Deprecated
public void setVideoQuery(String query) {
overwriteCustomParameter(VQ, query);
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code racy} parameter.
*
* @param includeRacy {@code true} to include racy content, false
* to exclude it, {@code null} to remove the parameter
* @deprecated Please use {@link #setSafeSearch(String)} instead.
*/
@Deprecated
public void setIncludeRacy(Boolean includeRacy) {
String stringValue;
if (includeRacy == null) {
stringValue = null;
} else {
stringValue = includeRacy ? RACY_INCLUDE : RACY_EXCLUDE;
}
overwriteCustomParameter(RACY, stringValue);
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code racy} parameter.
*
* @param includeRacy {@code true} to include racy content, false
* to exclude it, {@code null} to remove the parameter
* @deprecated Please use {@link #setSafeSearch(String)} instead.
*/
@Deprecated
public void setIncludeRacy(Boolean includeRacy) {
String stringValue;
if (includeRacy == null) {
stringValue = null;
} else {
stringValue = includeRacy ? RACY_INCLUDE : RACY_EXCLUDE;
}
overwriteCustomParameter(RACY, stringValue);
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code location-radius} parameter. Format is
* "100km". Valid units of measurement are "ft", "mi", "m", and "km".
* @param locationRadius The requested search radius.
* @throws InvalidArgumentException if the given string is not a properly
* formatted location radius.
*/
public void setLocationRadius(String locationRadius) {
if (locationRadius != null && !LOCATION_RADIUS_PATTERN.matcher(locationRadius).matches()) {
throw new IllegalArgumentException("Invalid location radius: " + locationRadius);
}
overwriteCustomParameter(LOCATION_RADIUS, locationRadius);
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code location-radius} parameter. Format is
* "100km". Valid units of measurement are "ft", "mi", "m", and "km".
* @param locationRadius The requested search radius.
* @throws InvalidArgumentException if the given string is not a properly
* formatted location radius.
*/
public void setLocationRadius(String locationRadius) {
if (locationRadius != null && !LOCATION_RADIUS_PATTERN.matcher(locationRadius).matches()) {
throw new IllegalArgumentException("Invalid location radius: " + locationRadius);
}
overwriteCustomParameter(LOCATION_RADIUS, locationRadius);
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code orderby} parameter.
*
* @param orderBy value of the {@code orderby} parameter,
* {@code null} to remove the parameter
*/
public void setOrderBy(OrderBy orderBy) {
overwriteCustomParameter(ORDERBY,
orderBy == null ? null : orderBy.toParameterValue());
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code uploader} parameter.
*
* @param uploader value of the {@code uploader} parameter,
* {@code null} to remove the parameter
*/
public void setUploader(Uploader uploader) {
overwriteCustomParameter(UPLOADER,
uploader == null ? null : uploader.toParameterValue());
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code safeSearch} parameter.
*
* @param safeSearch value of {@code safeSearch} parameter,
* {@code null} to remove the parameter
*/
public void setSafeSearch(SafeSearch safeSearch) {
overwriteCustomParameter(SAFE_SEARCH,
safeSearch == null ? null : safeSearch.toParameterValue());
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code time} parameter.
*
* @param time time value, {@code null} to remove the parameter
*/
public void setTime(Time time) {
overwriteCustomParameter(TIME,
time == null ? null : time.toParameterValue());
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code time} parameter.
*
* @param time time value, {@code null} to remove the parameter
*/
public void setTime(Time time) {
overwriteCustomParameter(TIME,
time == null ? null : time.toParameterValue());
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code orderby} parameter.
*
* @param orderBy value of the {@code orderby} parameter,
* {@code null} to remove the parameter
*/
public void setOrderBy(OrderBy orderBy) {
overwriteCustomParameter(ORDERBY,
orderBy == null ? null : orderBy.toParameterValue());
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code safeSearch} parameter.
*
* @param safeSearch value of {@code safeSearch} parameter,
* {@code null} to remove the parameter
*/
public void setSafeSearch(SafeSearch safeSearch) {
overwriteCustomParameter(SAFE_SEARCH,
safeSearch == null ? null : safeSearch.toParameterValue());
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code uploader} parameter.
*
* @param uploader value of the {@code uploader} parameter,
* {@code null} to remove the parameter
*/
public void setUploader(Uploader uploader) {
overwriteCustomParameter(UPLOADER,
uploader == null ? null : uploader.toParameterValue());
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets order by relevance with results optimized for a specific
* language.
*
* @param languageCode {@code null} or <a
* href="http://www.loc.gov/standards/iso639-2/php/code_list.php">
* ISO 639-1 2-letter language code</a>. {@code zh-Hans} for simplified
* chinese, {@code zh-Hant} for traditional chinese.
*/
public void setOrderByRelevanceForLanguage(String languageCode) {
overwriteCustomParameter(ORDERBY,
languageCode == null
? OrderBy.RELEVANCE.toParameterValue() : "relevance_lang_" + languageCode);
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets order by relevance with results optimized for a specific
* language.
*
* @param languageCode {@code null} or <a
* href="http://www.loc.gov/standards/iso639-2/php/code_list.php">
* ISO 639-1 2-letter language code</a>. {@code zh-Hans} for simplified
* chinese, {@code zh-Hant} for traditional chinese.
*/
public void setOrderByRelevanceForLanguage(String languageCode) {
overwriteCustomParameter(ORDERBY,
languageCode == null
? OrderBy.RELEVANCE.toParameterValue() : "relevance_lang_" + languageCode);
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the value of the {@code location} parameter.
* @param where A {@link com.google.gdata.data.geo.impl.GeoRssWhere}
* element describing the center of where to search.
*/
public void setLocation(GeoRssWhere where) {
StringBuilder location = new StringBuilder();
if (where != null) {
location.append(
where.getLatitude()).append(",").append(where.getLongitude());
}
if (hasRestrictLocation()) {
location.append("!");
}
overwriteCustomParameter(LOCATION,
location.toString().equals("") ? null : location.toString());
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the value of the {@code location} parameter.
* @param where A {@link com.google.gdata.data.geo.impl.GeoRssWhere}
* element describing the center of where to search.
*/
public void setLocation(GeoRssWhere where) {
StringBuilder location = new StringBuilder();
if (where != null) {
location.append(
where.getLatitude()).append(",").append(where.getLongitude());
}
if (hasRestrictLocation()) {
location.append("!");
}
overwriteCustomParameter(LOCATION,
location.toString().equals("") ? null : location.toString());
}
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.overwriteCustomParameter()方法的一些代码示例,展示了YouTub
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.getOrderby()方法的一些代码示例,展示了YouTubeQuery.getOrde
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.getCustomParameterValue()方法的一些代码示例,展示了YouTube
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.getCustomParameters()方法的一些代码示例,展示了YouTubeQuer
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.setFormats()方法的一些代码示例,展示了YouTubeQuery.setForm
本文整理了Java中com.google.gdata.client.youtube.YouTubeQuery.hasRestrictLocation()方法的一些代码示例,展示了YouTubeQuer
我是一名优秀的程序员,十分优秀!