| java.lang.Object | |
| ↳ | com.google.gdata.data.media.BaseMediaSource |
Known Direct Subclasses
|
The BaseMediaSource class provides an abstract base class
implementation of the MediaSource interface.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| contentLength | |||||||||||
| etag | |||||||||||
| lastModified | |||||||||||
| mediaType | |||||||||||
| name | |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new BaseMediaSource of the specified content type.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the length (in bytes) of the media source.
| |||||||||||
Returns the entity tag (etag) value associated with the media content
or
null if unknown. | |||||||||||
Returns the last modification time of the media content or
null
if unknown. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.media.MediaSource
| |||||||||||
From interface
javax.activation.DataSource
| |||||||||||
Constructs a new BaseMediaSource of the specified content type.
| mediaType |
|---|
Returns the length (in bytes) of the media source. A value of -1 indicates the length is unknown.
Returns the entity tag (etag) value associated with the media content
or null if unknown.
Returns the last modification time of the media content or null
if unknown.
| contentLength |
|---|
| etag |
|---|
| name |
|---|