Class ListReader<M>
- java.lang.Object
-
- com.sencha.gxt.data.shared.loader.ListReader<M>
-
- Type Parameters:
M- the model data type
- All Implemented Interfaces:
DataReader<ListLoadResult<M>,List<M>>
public class ListReader<M> extends Object implements DataReader<ListLoadResult<M>,List<M>>
Simple reader to turnLists intoListLoadResult.
-
-
Constructor Summary
Constructors Constructor Description ListReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLoadResult<M>read(Object loadConfig, List<M> data)Reads the raw data and returns the typed data.
-
-
-
Method Detail
-
read
public ListLoadResult<M> read(Object loadConfig, List<M> data)
Description copied from interface:DataReaderReads the raw data and returns the typed data.- Specified by:
readin interfaceDataReader<ListLoadResult<M>,List<M>>- Parameters:
loadConfig- the load config informationdata- the data to read- Returns:
- the processed and / or converted data
-
-