public interface RatingWriter extends Closeable
Interface for writing ratings.
Modifier and Type | Method and Description |
---|---|
void |
writeRating(Rating r)
Write a rating to the writer.
|
void writeRating(Rating r) throws IOException
Write a rating to the writer.
r
- The rating to write.IOException
- if there is an error writing the rating.