Class TrimFilterWriter

All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class TrimFilterWriter extends PrintWriter
Filters the output and removes extra white space at the beginning of lines and completely removes blank lines. TEXTAREAs are automatically detected as long as they start with exact "<textarea" and end with exactly "</textarea" (case insensitive). The reason for the specific tag format is to simplify the implementation for maximum performance. Careful attention has been paid to minimize the internal buffering in this class.
AO Industries, Inc.