package org.simantics.db.layer0.migration; import java.io.PrintWriter; import java.io.Writer; /** * @author Tuukka Lehtonen */ public class NullWriter extends Writer { public static final NullWriter INSTANCE = new NullWriter(); public static final PrintWriter PRINT_INSTANCE = new PrintWriter(INSTANCE); public NullWriter() { } 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() { } }