|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.Source
com.google.gdata.data.BaseFeed<F,E>
com.google.gdata.data.media.MediaFeed<F,E>
F
- the feed class associated with the bound subtype.E
- the entry class associated with the bound subtype.public abstract class MediaFeed<F extends BaseFeed,E extends BaseEntry>
The MediaFeed class extends BaseFeed
to add media-related
operations for feeds that contain media content.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseFeed |
---|
BaseFeed.FeedHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.Source |
---|
Source.SourceHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Method Summary | |
---|---|
E |
insert(MediaSource media)
Inserts a new media resource into the feed, if the feed is currently associated with a Service. |
void |
setService(Service v)
Sets that GData Service instance associated with this feed. |
Methods inherited from class com.google.gdata.data.BaseFeed |
---|
addAdaptor, createEntry, declareExtensions, generate, generateAtom, generateFeedEnd, generateFeedStart, generateRss, getAdaptedFeed, getAdaptor, getAdaptors, getCanPost, getEntries, getEntries, getEntryPostLink, getEtag, getFeedBatchLink, getHandler, getItemsPerPage, getKind, getNextLink, getPreviousLink, getSelectedFields, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, insert, parseAtom, parseAtom, parseAtom, readFeed, readFeed, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, setSelectedFields, setStartIndex, setTotalResults, setVersionId |
Methods inherited from class com.google.gdata.data.Source |
---|
addHtmlLink, addLink, addLink, getAuthors, getCategories, getContributors, getGenerator, getHtmlLink, getIcon, getId, getLink, getLinks, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, removeLinks, removeLinks, setGenerator, setGenerator, setIcon, setId, setLogo, setRights, setSubtitle, setTitle, setUpdated |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.IFeed |
---|
getGenerator, getLogo, getSubtitle, setGenerator, setLogo |
Methods inherited from interface com.google.gdata.data.IAtom |
---|
addLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, removeLinks, setId, setUpdated |
Method Detail |
---|
public void setService(Service v)
BaseFeed
Service
instance associated with this feed.
setService
in interface IAtom
setService
in class BaseFeed<F extends BaseFeed,E extends BaseEntry>
public E insert(MediaSource media) throws ServiceException, java.io.IOException
ServiceException
- If there is no associated GData service or the service is
unable to perform the insertion.
java.lang.UnsupportedOperationException
- If insert is not supported for the target feed.
java.io.IOException
- If there is an error communicating with the GData service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |