|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.appsforyourdomain.migration.Rfc822MediaSource
public class Rfc822MediaSource
MediaSource that wraps an RFC822 message in UTF8 format.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gdata.data.media.MediaSource |
|---|
MediaSource.Output |
| Constructor Summary | |
|---|---|
Rfc822MediaSource(java.lang.String rfc822Msg)
Constructs a new Rfc822MediaSource from the RFC822 message in UTF-8
format. |
|
| Method Summary | |
|---|---|
long |
getContentLength()
Returns the length (in bytes) of the media source. |
java.lang.String |
getContentType()
|
java.lang.String |
getEtag()
Returns the entity tag (etag) value associated with the media content or null if unknown. |
java.io.InputStream |
getInputStream()
|
DateTime |
getLastModified()
Returns the last modification time of the media content or null
if unknown. |
java.lang.String |
getName()
|
java.io.OutputStream |
getOutputStream()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rfc822MediaSource(java.lang.String rfc822Msg)
Rfc822MediaSource from the RFC822 message in UTF-8
format.
rfc822Msg - the text of the RFC822 message| Method Detail |
|---|
public long getContentLength()
MediaSource
getContentLength in interface MediaSourcepublic java.lang.String getEtag()
MediaSourcenull if unknown.
getEtag in interface MediaSourcepublic DateTime getLastModified()
MediaSourcenull
if unknown.
getLastModified in interface MediaSourcepublic java.lang.String getContentType()
getContentType in interface javax.activation.DataSourcepublic java.io.InputStream getInputStream()
getInputStream in interface javax.activation.DataSourcepublic java.lang.String getName()
getName in interface javax.activation.DataSourcepublic java.io.OutputStream getOutputStream()
getOutputStream in interface javax.activation.DataSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||