public final class BookCrossingDataModel extends FileDataModel
DEFAULT_MIN_RELOAD_INTERVAL_MS
Constructor and Description |
---|
BookCrossingDataModel(boolean ignoreRatings) |
BookCrossingDataModel(File ratingsFile,
boolean ignoreRatings) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
buildModel, determineDelimiter, getDataFile, getItemIDs, getItemIDsFromUser, getMaxPreference, getMinPreference, getNumItems, getNumUsers, getNumUsersWithPreferenceFor, getNumUsersWithPreferenceFor, getPreferencesForItem, getPreferencesFromUser, getPreferenceTime, getPreferenceValue, getUserIDs, hasPreferenceValues, processFile, processFileWithoutID, processLine, processLineWithoutID, readItemIDFromString, readTimestampFromString, readUserIDFromString, refresh, reload, removePreference, setPreference
setMaxPreference, setMinPreference
public BookCrossingDataModel(boolean ignoreRatings) throws IOException
IOException
public BookCrossingDataModel(File ratingsFile, boolean ignoreRatings) throws IOException
ratingsFile
- BookCrossing ratings file in its native formatIOException
- if an error occurs while reading or writing filespublic String toString()
toString
in class FileDataModel
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.