Package com.globalmentor.io
Class Writers
java.lang.Object
com.globalmentor.io.Writers
Utility methods for working with
Writer
instances.- Author:
- Garret Wilson
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Writers
public Writers()
-
-
Method Details
-
write
Copies the contents of a reader to a writer. Neither reader nor writer is closed after the operation.- Parameters:
reader
- The content to copy.writer
- The destination of the reader contents.- Throws:
IOException
- Thrown if there is an error copying the content.
-