java.lang.Object | |
↳ | com.microstrategy.web.app.transforms.CharsetTranscoder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CharsetTranscoder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | encode(MarkupOutput mo, CharBuffer charBuff) | ||||||||||
void |
transcode(MarkupOutput mo, String decodeName, String encodeName, byte[] data)
Used to encode the data as the charset specified.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||
![]()
|
Used to encode the data as the charset specified.
By default it encodes using standard Java methods but can be overwritten for special cases.
This method is only called if the charset requested is not "UnicodeLittle" as IServer sends the data in this charset.
mo | The output object |
---|---|
decodeName | the charset specified as supported by Java to decode the data |
encodeName | the charset to encode the data |
data | an array with the bytes as passed by IServer. These bytes are encoded using "UnicodeLittle". |
IllegalArgumentException | if an error occurs when appending data to the markup output |
---|---|
IllegalStateException | if an error occurs when appending data to the markup output |
UnsupportedEncodingException | if an error occurs when appending data to the markup output |