public class EncodingFactory
extends java.lang.Object
Encoding
for a given DataSeriesType and
Encoding.
Also useful to hide encoding implementations.| Constructor and Description |
|---|
EncodingFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> Encoding<T> |
createEncoding(DataSeriesType valueType,
EncodingID id)
Create an encoding for the data series type and encoding id.
|
public <T> Encoding<T> createEncoding(DataSeriesType valueType, EncodingID id)
T - encoding object type, like Integer or String.valueType - data type of the values to be produced/consumed by the encodingid - encoding id used for data serialization