The java.io.Writer interface has two methods called append and write. What are the differences between these two? It even says that
An invocation of t
As you can see from the documentation, append also returns the Writer you have just written to so that you can perform multiple appends such as:
out.append(a).append(b).append(c)