Package com.microstrategy.utils
Class ContentEncoderChain
- java.lang.Object
-
- com.microstrategy.utils.ContentEncoderChain
-
public class ContentEncoderChain extends java.lang.Object
This class represents the list of encoders used to encode data.- Since:
- MicroStrategy Web 9.0.1
-
-
Constructor Summary
Constructors Constructor Description ContentEncoderChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String name)
Add an encoder to the chain.java.lang.String
encode(java.lang.String data)
The encode method encodes the data through the list of encoders.
-
-
-
Method Detail
-
encode
public java.lang.String encode(java.lang.String data)
The encode method encodes the data through the list of encoders.- Parameters:
data
- - value to be encoded.- Returns:
- the encoded value.
-
add
public void add(java.lang.String name)
Add an encoder to the chain.- Parameters:
name
- - Name of the encoder.
-
-