| java.lang.Object | ||||
| ↳ | com.google.gdata.data.AbstractExtension | |||
| ↳ | com.google.gdata.data.ExtensionPoint | |||
| ↳ | com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry> | |||
| ↳ | com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>> | |||
Known Direct Subclasses
BaseContentEntry<E extends BaseContentEntry<E>>,
CaptionTrackEntry,
DocumentEntry,
DocumentListEntry,
GlossaryEntry,
GoogleBaseMediaEntry,
GphotoEntry<E extends GphotoEntry<E>>,
MailItemEntry,
MapEntry,
TranslationMemoryEntry,
VideoEntry
|
Known Indirect Subclasses
|
The MediaEntry class is an abstract base class for GData services that support media content.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new BaseEntry instance.
| |||||||||||
Copy constructor that initializes a new BaseEntry instance to have
identical contents to another instance, using a shared reference to
the same entry state.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the media resource edit link.
| |||||||||||
Returns the
MediaSource that contains the media data for the entry. | |||||||||||
Sets the
MediaSource that contains the media data for the entry. | |||||||||||
Sets the service that this resource is being used with.
| |||||||||||
Updates the media content associated with this entry by sending the
data contained in the
MediaSource of the entry to the associated
GData service. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns information about the content element processing.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
From interface
com.google.gdata.data.IAtom
| |||||||||||
From interface
com.google.gdata.data.IEntry
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptable
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptor
| |||||||||||
From interface
com.google.gdata.data.media.IMediaEntry
| |||||||||||
Constructs a new BaseEntry instance.
Copy constructor that initializes a new BaseEntry instance to have
identical contents to another instance, using a shared reference to
the same entry state.
Kind.Adaptor subclasses
of BaseEntry can use this constructor to create adaptor
instances of an entry that share state with the original.
| sourceEntry |
|---|
Returns the MediaSource that contains the media data for the entry.
Sets the MediaSource that contains the media data for the entry.
| mediaSource |
|---|
Sets the service that this resource is being used with.
| v |
|---|
Updates the media content associated with this entry by sending the
data contained in the MediaSource of the entry to the associated
GData service. Can optionally update the entry content at the same time.
| updateEntry | Set to {code boolean} true if the current entry content should be updated with the media. |
|---|
| ServiceException | If there is no associated GData service or the service is unable to perform the update. |
|---|---|
| InvalidEntryException | If the entry does not contain MediaContent or
there is no MediaSource associated with the content. |
| UnsupportedOperationException | If update is not supported for the target entry. |
| IOException | If there is an error communicating with the GData service. |
Returns information about the content element processing.
| extProfile | |
|---|---|
| attrs |
| ParseException | |
|---|---|
| IOException |