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 |
packed(java.io.File file,
BinaryFormatFlag... flags)
Write ratings to a packed file.
|
static RatingWriter |
packed(java.io.File file,
java.util.EnumSet<BinaryFormatFlag> flags)
Write ratings to a packed file.
|
public static RatingWriter csv(java.io.File file) throws java.io.IOException
file
- The file to write to.java.io.IOException
- if there is an error opening the file.public static RatingWriter packed(java.io.File file, BinaryFormatFlag... flags) throws java.io.IOException
file
- The file to write to.java.io.IOException
- if there is an error opening the file.public static RatingWriter packed(java.io.File file, java.util.EnumSet<BinaryFormatFlag> flags) throws java.io.IOException
file
- The file to write to.java.io.IOException
- if there is an error opening the file.