|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.wireformats.output.media.MediaMultipartGenerator
public class MediaMultipartGenerator
The MediaMultipartGenerator class handles output generation for MIME
multipart related documents containing Atom and media content as separate
parts. Support for media-only output generation is provided by the
MediaGenerator class.
| Constructor Summary | |
|---|---|
MediaMultipartGenerator()
|
|
| Method Summary | |
|---|---|
void |
generate(java.io.OutputStream contentStream,
OutputProperties request,
MediaMultipart source)
Generates output for requests that target media resources. |
AltFormat |
getAltFormat()
Returns the alternate representation format produced the generator. |
java.lang.Class<MediaMultipart> |
getSourceType()
Returns the Class that represents the expected source data type for
output generation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaMultipartGenerator()
| Method Detail |
|---|
public AltFormat getAltFormat()
OutputGenerator
getAltFormat in interface OutputGenerator<MediaMultipart>public java.lang.Class<MediaMultipart> getSourceType()
OutputGeneratorClass that represents the expected source data type for
output generation.
getSourceType in interface OutputGenerator<MediaMultipart>
public void generate(java.io.OutputStream contentStream,
OutputProperties request,
MediaMultipart source)
throws java.io.IOException
generate in interface OutputGenerator<MediaMultipart>contentStream - the target stream for content generation.request - output properties for the generated outputsource - source object for output generation
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||