Class TrimmingInputStream

java.lang.Object
java.io.InputStream
org.shredzone.acme4j.connector.TrimmingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class TrimmingInputStream extends InputStream
Normalizes line separators in an InputStream. Converts all line separators to '\n'. Multiple line separators are compressed to a single line separator. Leading line separators are removed. Trailing line separators are compressed to a single separator.