public class

TranscodingStreamingContext

extends StreamingContext
java.lang.Object
   ↳ com.microstrategy.webapi.StreamingContext
     ↳ com.microstrategy.web.app.transforms.TranscodingStreamingContext

Summary

[Expand]
Inherited Constants
From class com.microstrategy.webapi.StreamingContext
[Expand]
Inherited Fields
From class com.microstrategy.webapi.StreamingContext
Public Constructors
TranscodingStreamingContext(ContainerServices cs, String encode)
Public Methods
void consume(int contentLength, InputStream src)
Request to a consumer to consume specified number of bytes from the input stream
void consume(String decodeCharsetName, int contentLength, InputStream src)
Request to a consumer to consume specified number of bytes from the input stream
void encode(CharBuffer charBuff, OutputStream out)
void transcode(OutputStream out)
[Expand]
Inherited Methods
From class com.microstrategy.webapi.StreamingContext
From class java.lang.Object
From interface com.microstrategy.webapi.IContentConsumer

Public Constructors

public TranscodingStreamingContext (ContainerServices cs, String encode)

Public Methods

public void consume (int contentLength, InputStream src)

Request to a consumer to consume specified number of bytes from the input stream

Parameters
contentLength number of bytes to consume.
src source input stream
Throws
Exception

public void consume (String decodeCharsetName, int contentLength, InputStream src)

Request to a consumer to consume specified number of bytes from the input stream

Parameters
decodeCharsetName decoder charset name
contentLength number of bytes to consume.
src source input stream
Throws
Exception

public void encode (CharBuffer charBuff, OutputStream out)

Throws
CharacterCodingException
IOException

public void transcode (OutputStream out)

Throws
CharacterCodingException
IOException