vooga.social.socialInfo
Interface IDataConverter

All Known Implementing Classes:
Comment, Rating, Score

public interface IDataConverter

Interface representing conversion of lists based on the particular data type. Each class which implements this interface defines what to do with the data in the list to extract the desired data. Classes which implement this interface are used in the GameInfoDatabase to convert the data that is retrieved from the server to just the desired data. For example, a list of ratings is converted to the average of all the ratings in the list because this is the primary data of interest. See implementing classes for more details.

Author:
Heidi Slater

Method Summary
 java.lang.Object convertData(java.util.List<java.lang.String> list)
          Returns an object associated with the contents of the list.
 

Method Detail

convertData

java.lang.Object convertData(java.util.List<java.lang.String> list)
Returns an object associated with the contents of the list.

Returns: