Class FindReplaceWriter

java.lang.Object
java.io.Writer
com.aoapps.hodgepodge.io.FindReplaceWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class FindReplaceWriter extends Writer
Replaces strings while writing.

This class is not thread safe and requires external synchronization if used by more than one thread.

This is a simple implementation that forces all writes to be one character at a time. It is recommended to use along with BufferedWriter when used in a performance-sensitive application.

Author:
AO Industries, Inc.