Class FileWriter is used for output of character data to a disk file. Here is where it is in the hierarchy of Writer classes:
The arrows in this diagram show inheritance (not data flow).
FileWriter is a kind of
which is a kind of
Writer, which is a kind of
When you read Java documentation,
you might need to look at several ancestors of a class you are interested in.