|
|||||||||
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 |
---|
equals, 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 messageMethod Detail |
---|
public long getContentLength()
MediaSource
getContentLength
in interface MediaSource
public java.lang.String getEtag()
MediaSource
null
if unknown.
getEtag
in interface MediaSource
public DateTime getLastModified()
MediaSource
null
if unknown.
getLastModified
in interface MediaSource
public java.lang.String getContentType()
getContentType
in interface javax.activation.DataSource
public java.io.InputStream getInputStream()
getInputStream
in interface javax.activation.DataSource
public java.lang.String getName()
getName
in interface javax.activation.DataSource
public 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 |