public interface RatingWriter
extends java.io.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 java.io.IOException
Write a rating to the writer.
r
- The rating to write.java.io.IOException
- if there is an error writing the rating.