Deprecated Methods |
com.google.api.gbase.client.GmAttributes.addAttribute(String, GoogleBaseAttributeType)
use
GmAttributes.addAttribute(GoogleBaseAttributeId, GmAttribute.Importance)
instead. This method will be removed in a future release |
com.google.gdata.data.docs.DocumentListEntry.addFolder(Person, String)
use BaseEntry.addLink(Link) with link relation PARENT_NAMESPACE
instead. |
com.google.gdata.util.httputil.ParamMap.append(String, String)
use Multimap.put(name, value) |
com.google.gdata.util.common.base.StringUtil.Collection2String(Collection>, String)
Please use
But note that Join does not consider null elements to be
equivalent to the empty string, as this method does. |
com.google.gdata.util.common.base.StringUtil.convertEOLToCRLF(String)
Please inline this method. |
com.google.gdata.util.httputil.FastURLEncoder.createSafeOctetBitSet()
Use CharEscapers.uriEscaper() .
or create an instance of PercentEscaper .
See FastURLEncoder for more details. |
com.google.gdata.data.ExtensionProfile.declareEntryExtension(Class extends Extension>)
Calls to this API should be replaced with calls to
ExtensionProfile.declare(Class,ExtensionDescription) where
the first argument is a specific BaseEntry subtype. The
BaseEntry class should only be used for mix-in types that
might appear in multiple entry types. Its use for all entry declarations
can result in conflicts when mutiple feed types are declared into a
single extension profile, a common practice in client library service
initialization for services that return multiple entry types. |
com.google.gdata.data.ExtensionProfile.declareEntryExtension(ExtensionDescription)
Calls to this API should be replaced with calls to
ExtensionProfile.declare(Class,ExtensionDescription) where
the first argument is a specific BaseEntry subtype. The
BaseEntry class should only be used for mix-in types that
might appear in multiple entry types. Its use for all entry declarations
can result in conflicts when mutiple feed types are declared into a
single extension profile, a common practice in client library service
initialization for services that return multiple entry types. |
com.google.gdata.data.ExtensionProfile.declareFeedExtension(Class extends Extension>)
Calls to this API should be replaced with calls to
ExtensionProfile.declare(Class,ExtensionDescription) where
the first argument is a specific BaseFeed subtype. The
BaseFeed class should only be used for mix-in types that
might appear in multiple feed types. Its use for all feed declarations
can result in conflicts when mutiple feed types are declared into a
single extension profile, a common practice in client library service
initialization for services that return multiple feed types. |
com.google.gdata.data.ExtensionProfile.declareFeedExtension(ExtensionDescription)
Calls to this API should be replaced with calls to
ExtensionProfile.declare(Class,ExtensionDescription) where
the first argument is a specific BaseFeed subtype. The
BaseFeed class should only be used for mix-in types that
might appear in multiple feed types. Its use for all feed declarations
can result in conflicts when mutiple feed types are declared into a
single extension profile, a common practice in client library service
initialization for services that return multiple feed types. |
com.google.gdata.util.httputil.FastURLEncoder.encode(String)
Use CharEscapers.uriEscaper() . |
com.google.gdata.util.httputil.FastURLEncoder.encode(String, Appendable)
Use CharEscapers.uriEscaper() .
See FastURLEncoder for more details. |
com.google.gdata.util.httputil.FastURLEncoder.encode(String, BitSet, boolean)
Use CharEscapers.uriEscaper() .
or create an instance of PercentEscaper .
See FastURLEncoder for more details. |
com.google.gdata.util.httputil.FastURLEncoder.encode(String, String)
Use CharEscapers.uriEscaper() .
See FastURLEncoder for more details. |
com.google.gdata.util.httputil.FastURLEncoder.encode(String, String, Appendable)
Use CharEscapers.uriEscaper() .
See FastURLEncoder for more details. |
com.google.gdata.util.httputil.FastURLEncoder.encode(String, String, BitSet, boolean)
Use CharEscapers.uriEscaper()
or create an instance of PercentEscaper .
See FastURLEncoder for more details. |
com.google.gdata.util.httputil.FastURLEncoder.encode(String, String, BitSet, boolean, Appendable)
Use CharEscapers.uriEscaper()
or create an instance of PercentEscaper .
See FastURLEncoder for more details. |
com.google.gdata.util.httputil.ParamMap.get(String)
Use Multimap.get(name) and convert to an array only if
you absolutely have to. |
com.google.api.gbase.client.ItemTypeDescription.getAttributeIds()
use ItemTypeDescription.getAttributes() instead |
com.google.api.gbase.client.GmAttributes.getAttributeIds()
use GmAttributes.getAttributes() instead. |
com.google.gdata.client.batch.BatchInterruptedException.getBatchInterrupted()
Use BatchInterruptedException.getIBatchInterrupted() instead. |
com.google.gdata.data.webmastertools.SitesEntry.getCrawled()
This field is not used any more. |
com.google.gdata.data.youtube.VideoMessageEntry.getDescription()
Valid only in version 1. Replaced version 2.0 with
atom:summary. |
com.google.gdata.data.youtube.UserProfileEntry.getDescription()
Valid only in version 1. Replaced in version 2.0 with
yt:aboutMe for the user self description and atom:summary for
the user channel description |
com.google.gdata.data.youtube.PlaylistEntry.getDescription()
Valid only in version 1. Replaced version 2.0 with
atom:summary. |
com.google.gdata.data.youtube.FeedLinkEntry.getDescription()
Valid only in version 1. Replaced in version 2.0 with
atom:summary. |
com.google.gdata.client.batch.BatchInterruptedException.getFeed()
Use BatchInterruptedException.getIFeed() instead. |
com.google.gdata.data.youtube.FeedLinkEntry.getFeedLink()
Starting with version 2, the feed link can be found in the content.
See FeedLinkEntry.getFeedUrl() and FeedLinkEntry.getCountHint() . |
com.google.gdata.data.docs.DocumentListEntry.getFolders()
use DocumentListEntry.getParentLinks() instead. |
com.google.gdata.model.atom.Source.Generator.getHref()
Use Source.Generator.getUriUri() instead. |
com.google.gdata.model.atom.Source.getIcon()
Use Source.getIconUri() instead. |
com.google.gdata.data.photos.impl.AlbumDataImpl.getImageUrl()
use the media:content element to get the image source. |
com.google.gdata.client.youtube.YouTubeQuery.getIncludeRacy()
Please use YouTubeQuery.getSafeSearch() instead. |
com.google.gdata.data.webmastertools.SitesEntry.getIndexed()
This field is not used any more. |
com.google.gdata.data.docs.DocumentListEntry.getKey()
use getResourceId() instead. |
com.google.gdata.model.atom.Source.getLogo()
Use Source.getLogoUri() instead. |
com.google.gdata.client.Service.getStreamFromLink(ILink)
Use Service.createLinkQueryRequest(ILink) instead. |
com.google.api.gbase.client.GoogleBaseAttributesExtension.getTaxPercent()
use GoogleBaseAttributesExtension.getTax() instead |
com.google.api.gbase.client.GoogleBaseAttributesExtension.getTaxRegion()
use GoogleBaseAttributesExtension.getTax() instead |
com.google.gdata.data.photos.impl.AlbumDataImpl.getThumbnail()
use the media:thumbnail element to get thumbnails. |
com.google.gdata.model.atom.Person.getUri()
Use Person.getUriUri() instead. |
com.google.gdata.model.atom.OutOfLineContent.getUri()
Use Content.getSrc() instead. |
com.google.gdata.client.authn.oauth.OAuthHelper.getUserAuthorizationUrl(OAuthParameters)
Call a combination of OAuthHelper.getUnauthorizedRequestToken(com.google.gdata.client.authn.oauth.OAuthParameters) and
OAuthHelper.createUserAuthorizationUrl(com.google.gdata.client.authn.oauth.OAuthParameters) instead. |
com.google.gdata.client.youtube.YouTubeQuery.getVideoQuery()
Please use Query.getFullTextQuery() instead. |
com.google.gdata.data.youtube.VideoEntry.isRacy()
in favor of MediaGroup#getRatings() with scheme YouTubeNamespace.MEDIA_RATING_SCHEME . Removed in version 2 |
com.google.gdata.util.common.base.StringUtil.Iterator2String(Iterator>, String)
Please use
But note that Join does not consider null elements to be
equivalent to the empty string, as this method does. |
com.google.gdata.util.common.base.StringUtil.join(Collection, String)
Please use
But note that Join does not consider null elements to be
equivalent to the empty string, as this method does. |
com.google.gdata.util.common.base.StringUtil.join(Object[], String)
Please use
But note that Join does not consider null elements to be
equivalent to the empty string, as this method does. |
com.google.gdata.util.common.base.StringUtil.list2String(Collection>, String)
Please use
But note that Join does not consider null elements to be
equivalent to the empty string, as this method does. |
com.google.gdata.util.common.base.StringUtil.lstrip(String)
ensure the string is not null and use CharMatcher.LEGACY_WHITESPACE.trimLeadingFrom(str) ; also consider whether you
really want the legacy whitespace definition, or something more
standard like CharMatcher.WHITESPACE . |
com.google.gdata.util.common.base.StringUtil.megastrip(String, boolean, boolean, String)
ensure the string is not null and use
-
CharMatcher.anyOf(what).trimFrom(str)
if left == true and right == true
-
CharMatcher.anyOf(what).trimLeadingFrom(str)
if left == true and right == false
-
CharMatcher.anyOf(what).trimTrailingFrom(str)
if left == false and right == true
|
com.google.gdata.util.httputil.FormUrlDecoder.parse(String, ParamMap, String)
Use UriParameterMap.parse(query, encoding) . To convert
from the string to the Charset instance, see
Charsets . Note that an encoding of null
will default to ISO-8859-1 in this deprecated implementation, whereas the
classes in common.net default to UTF-8 encoding. |
com.google.gdata.util.httputil.FormUrlDecoder.parseWithCallback(String, String, FormUrlDecoder.Callback)
Do not use. (Currently only needed internally by
UriParameterMap.) |
com.google.gdata.util.httputil.ParamMap.put(String, String[])
Use Multimap.putAll(name, collection) , first converting
an array to a list with Arrays.asList(values) if the collection
is not already available. |
com.google.gdata.model.Element.removeAttribute(AttributeKey>)
use removeAttributeValue instead. |
com.google.gdata.model.Element.removeAttribute(QName)
use removeAttributeValue instead. |
com.google.gdata.util.common.base.StringUtil.replace(String, String, String)
Please use String.replace(CharSequence, CharSequence) . |
com.google.gdata.util.common.base.StringUtil.rstrip(String)
ensure the string is not null and use CharMatcher.LEGACY_WHITESPACE.trimTrailingFrom(str) ; also consider whether you
really want the legacy whitespace definition, or something more
standard like CharMatcher.WHITESPACE . |
com.google.gdata.data.webmastertools.SitesEntry.setCrawled(DateTime)
This field is not used any more. |
com.google.gdata.data.youtube.VideoMessageEntry.setDescription(String)
Valid only in version 1. Replaced version 2.0 with
atom:summary. |
com.google.gdata.data.youtube.UserProfileEntry.setDescription(String)
Valid only in version 1. Replaced in version 2.0 with
yt:aboutMe for the user self description and atom:summary for
the user channel description |
com.google.gdata.data.youtube.PlaylistEntry.setDescription(String)
Valid only in version 1. Replaced version 2.0 with
atom:summary. |
com.google.gdata.data.youtube.FeedLinkEntry.setDescription(String)
Valid only in version 1. Replaced in version 2.0 with
atom:summary. |
com.google.gdata.data.youtube.FeedLinkEntry.setFeedLink(FeedLink>)
Starting with version 2, the feed link can be found in the content. |
com.google.gdata.data.docs.DocumentListEntry.setFile(File)
use setFile(File, String) instead. |
com.google.gdata.client.uploader.ResumableHttpFileUploader.setHttpRequestMethod(ResumableHttpFileUploader.RequestMethod)
Please use ResumableHttpFileUploader.Builder#setRequestMethod(RequestMethod) |
com.google.gdata.model.atom.Source.setIcon(String)
Use Source.setIcon(URI) instead. |
com.google.gdata.data.photos.impl.AlbumDataImpl.setImageUrl(String)
set the media:content element with the image source. |
com.google.gdata.client.youtube.YouTubeQuery.setIncludeRacy(Boolean)
Please use #setSafeSearch(String) instead. |
com.google.gdata.data.webmastertools.SitesEntry.setIndexed(boolean)
This field is not used any more. |
com.google.gdata.util.ErrorDomain.ErrorCode.setInternalReason(String)
Use ErrorDomain.ErrorCode.withInternalReason(String) instead. |
com.google.gdata.model.atom.Source.setLogo(String)
Use Source.setLogo(URI) instead. |
com.google.gdata.data.youtube.VideoEntry.setRacy(boolean)
in favor of MediaGroup#getRatings() with scheme YouTubeNamespace.MEDIA_RATING_SCHEME . Removed in version 2. |
com.google.api.gbase.client.GoogleBaseAttributesExtension.setTaxPercent(float)
use GoogleBaseAttributesExtension.addTax(Tax) instead |
com.google.api.gbase.client.GoogleBaseAttributesExtension.setTaxRegion(String)
use GoogleBaseAttributesExtension.addTax(Tax) instead |
com.google.gdata.data.photos.impl.AlbumDataImpl.setThumbnail(String)
use the media:thumbnail element to set thumbnails. |
com.google.gdata.model.atom.Person.setUri(String)
Use Person.setUri(URI) instead. |
com.google.gdata.model.atom.Source.Generator.setUri(String)
Use Source.Generator.setUri(URI) instead. |
com.google.gdata.model.atom.OutOfLineContent.setUri(String)
Use OutOfLineContent.setSrc(URI) instead. |
com.google.gdata.client.youtube.YouTubeQuery.setVideoQuery(String)
Please use Query#setFullTextQuery() instead. |
com.google.gdata.util.httputil.ParamMap.toMap()
Use Multimap.asMap() to get a (String name) ->
(Collection values) mapping and convert to an array only if you
absolutely have to. Or, use the multimap directly. |