Class CommentCaptureInputStream

java.lang.Object
java.io.InputStream
com.aoapps.hodgepodge.util.CommentCaptureInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class CommentCaptureInputStream extends InputStream
Captures comments from any lines that begin with # (preceding space, tab, and formfeed allowed).

This class is optimized for reading Properties files and assumes ISO-8859-1 encoding.

Java 1.9: Read properties files via Reader in UTF-8 format

Author:
AO Industries, Inc.