@@ -0,0 +1,1554 @@
+package com.oozinoz.io;%0A%0Aimport java.io.*;%0A%0A/*%0A * Copyright (c) 2001 Steven J. Metsker.%0A * %0A * Steve Metsker makes no representations or warranties about%0A * the fitness of this software for any particular purpose, %0A * including the implied warranty of merchantability.%0A *%0A * Please use this software as you wish with the sole%0A * restriction that you may not claim that you wrote it.%0A */%0A/**%0A * This class channels all versions of the write() method to%0A * go through the write() method that takes a single %0A * character.%0A * %0A * @author Steven J. Metsker%0A */%0Apublic abstract class OozinozFilter extends FilterWriter %0A%7B%0Aprotected OozinozFilter(Writer out)%0A%7B%0A%09super(out);%0A%7D%0A/**%0A * Write a portion of an array of characters.%0A *%0A * @param cbuf Buffer of characters to be written%0A * @param  off Offset from which to start reading characters%0A * @param  len Number of characters to be written%0A *%0A * @throws IOException if an I/O error occurs%0A */%0Apublic void write(char cbuf%5B%5D, int off, int len)%0A%09throws IOException %7B%0A%09for (int i = 0; i %3C len; i++)%0A%09%7B%0A%09%09write(cbuf%5Boff + i%5D);%0A%09%7D%0A%7D%0A/**%0A * Write a single character.%0A *%0A * @throws IOException if an I/O error occurs%0A */%0Apublic abstract void write(int c) throws IOException;%0A/**%0A * Write a portion of a string.%0A *%0A * @param str String to be written%0A * @param off Offset from which to start reading characters%0A * @param len Number of characters to be written%0A *%0A * @throws IOException if an I/O error occurs%0A */%0Apublic void write(String s, int off, int len)%0Athrows IOException %0A%7B%0A%09write(s.toCharArray(), off, len);%0A%7D%0A%7D%0A

Create OozinozFilter.java