package org.apache.commons.io.output;

import java.io.Writer;

public class NullWriter extends Writer {
   public static final NullWriter NULL_WRITER = new NullWriter();

   public Writer append(char c) {
      return this;
   }

   public Writer append(CharSequence csq, int start, int end) {
      return this;
   }

   public Writer append(CharSequence csq) {
      return this;
   }

   public void write(int idx) {
   }

   public void write(char[] chr) {
   }

   public void write(char[] chr, int st, int end) {
   }

   public void write(String str) {
   }

   public void write(String str, int st, int end) {
   }

   public void flush() {
   }

   public void close() {
   }
}
