public class

ContentEncoderChain

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.ContentEncoderChain

Class Overview

This class represents the list of encoders used to encode data.

Summary

Public Constructors
ContentEncoderChain()
Public Methods
void add(String name)
Add an encoder to the chain.
String encode(String data)
The encode method encodes the data through the list of encoders.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ContentEncoderChain ()

Public Methods

public void add (String name)

Add an encoder to the chain.

Parameters
name - Name of the encoder.

public String encode (String data)

The encode method encodes the data through the list of encoders.

Parameters
data - value to be encoded.
Returns
  • the encoded value.