public class MediaMultipartGenerator extends Object implements OutputGenerator<MediaMultipart>
MediaGenerator class.| Constructor and Description |
|---|
MediaMultipartGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(OutputStream contentStream,
OutputProperties request,
MediaMultipart source)
Generates output for requests that target media resources.
|
AltFormat |
getAltFormat()
Returns the alternate representation format produced the generator.
|
Class<MediaMultipart> |
getSourceType()
Returns the
Class that represents the expected source data type for
output generation. |
public AltFormat getAltFormat()
OutputGeneratorgetAltFormat in interface OutputGenerator<MediaMultipart>public Class<MediaMultipart> getSourceType()
OutputGeneratorClass that represents the expected source data type for
output generation.getSourceType in interface OutputGenerator<MediaMultipart>public void generate(OutputStream contentStream, OutputProperties request, MediaMultipart source) throws IOException
generate in interface OutputGenerator<MediaMultipart>contentStream - the target stream for content generation.request - output properties for the generated outputsource - source object for output generationIOExceptionCopyright © 2012. All Rights Reserved.