@@ -0,0 +1,962 @@
+package innovimax.mixthem;%0A%0Aimport innovimax.mixthem.interfaces.IOutputLine;%0A%0Aimport java.io.BufferedWriter;%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0Aimport java.io.OutputStreamWriter;%0A%0A/**%0A* %3Cp%3EWrites characters into an output stream.%3C/p%3E%0A* %3Cp%3EThis is the default implementation of IOutputLine.%3C/p%3E%0A* @see IOutputLine%0A* @author Innovimax%0A* @version 1.0%0A*/%0Apublic class DefaultLineWriter implements IOutputLine %7B%0A%0A%09private final BufferedWriter writer;%0A%0A%09/**%0A %09* Creates a line writer.%0A %09* @param output The output stream for lines to be written.%0A %09* @throws IOException - If an I/O error occurs%0A %09*/%0A%09public DefaultLineWriter(OutputStream output) throws IOException %7B%0A%09%09this.writer = new BufferedWriter(new OutputStreamWriter(output));%0A%09%7D%0A%0A%09@Override%0A%09public void writeLine(String line) throws IOException %7B%0A%09%09this.writer.write(line);%0A%09%09this.writer.newLine();%0A%09%7D%0A%0A%09@Override%0A%09public void close() throws IOException %7B%0A%09%09this.writer.close();%0A%09%7D%0A%0A%7D%0A

Create DefaultLineWriter.java