public final class RatingWriters
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RatingWriter |
csv(java.io.File file)
Write ratings to a CSV file.
|
static RatingWriter |
csv(java.io.File file,
boolean ts)
Write ratings to a CSV file.
|
public static RatingWriter csv(java.io.File file) throws java.io.IOException
Write ratings to a CSV file.
file
- The file to write to.java.io.IOException
- if there is an error opening the file.public static RatingWriter csv(java.io.File file, boolean ts) throws java.io.IOException
Write ratings to a CSV file.
file
- The file to write to.ts
- Whether or not to include timestamps.java.io.IOException
- if there is an error opening the file.