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